-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Require python 3.9 or newer - Adopt new PEP517 packaging - Update linters - rename lib/ to src/
- Loading branch information
Showing
20 changed files
with
251 additions
and
352 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
click-help-colors>=0.6 | ||
click>=8.1.4 | ||
enrich>=1.2.1 | ||
pygithub | ||
pyyaml>=5.3.1 | ||
requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,3 +30,5 @@ pip-wheel-metadata | |
credentials.json | ||
|
||
pip-wheel-metadata | ||
src/gri/_version.py | ||
report.html |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,96 @@ | ||
[build-system] | ||
requires = [ | ||
"pip >= 19.3.1", | ||
"setuptools >= 42", | ||
"setuptools_scm[toml] >= 3.5.0", | ||
"setuptools_scm_git_archive >= 1.1", | ||
"wheel >= 0.33.6", | ||
"setuptools >= 65.3.0", # required by pyproject+setuptools_scm integration and editable installs | ||
"setuptools_scm[toml] >= 7.0.5", # required for "no-local-version" scheme | ||
|
||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
# https://peps.python.org/pep-0621/#readme | ||
requires-python = ">=3.9" | ||
dynamic = ["version", "dependencies", "optional-dependencies"] | ||
name = "gri" | ||
description = "Git Review Interface for Gerrit and Github" | ||
readme = "README.md" | ||
authors = [{ "name" = "Sorin Sbarnea", "email" = "[email protected]" }] | ||
maintainers = [{ "name" = "Sorin Sbarnea", "email" = "[email protected]" }] | ||
license = { text = "MIT" } | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Console", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Information Technology", | ||
"Intended Audience :: System Administrators", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: MacOS", | ||
"Operating System :: POSIX", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python", | ||
"Topic :: System :: Systems Administration", | ||
"Topic :: Software Development :: Quality Assurance", | ||
"Topic :: Software Development :: Testing", | ||
"Topic :: Utilities", | ||
] | ||
keywords = ["gerrit", "git", "github", "review"] | ||
|
||
[project.urls] | ||
homepage = "https://github.com/pycontribs/gri" | ||
repository = "https://github.com/pycontribs/gri" | ||
changelog = "https://github.com/pycontribs/gri/releases" | ||
|
||
[project.scripts] | ||
gri = "gri.__main__:cli" | ||
grib = "gri.__main__:cli_bugs" | ||
|
||
[tool.black] | ||
target-version = ["py39"] | ||
line-length = 88 | ||
|
||
[tool.isort] | ||
profile = "black" | ||
|
||
[tool.mypy] | ||
python_version = 3.9 | ||
[[tool.mypy.overrides]] | ||
module = [ | ||
"click_help_colors", | ||
] | ||
ignore_missing_imports = true | ||
ignore_errors = true | ||
|
||
[tool.pylint."MESSAGES CONTROL"] | ||
disable = [ | ||
"missing-function-docstring", | ||
"missing-class-docstring", | ||
"missing-module-docstring" | ||
] | ||
[tool.ruff] | ||
ignore = [ | ||
"ANN", | ||
"ARG", | ||
"D", | ||
"DTZ", | ||
"E501", # black managed | ||
"PLR", | ||
"PTH", | ||
"S605", | ||
"TRY", | ||
] | ||
select = ["ALL"] | ||
target-version = "py39" | ||
# Same as Black. | ||
line-length = 88 | ||
[tool.setuptools.dynamic] | ||
optional-dependencies.test = { file = [".config/requirements-test.txt"] } | ||
optional-dependencies.lock = { file = [".config/requirements-lock.txt"] } | ||
dependencies = { file = [".config/requirements.in"] } | ||
|
||
[tool.setuptools_scm] | ||
local_scheme = "no-local-version" | ||
write_to = "src/gri/_version.py" |
File renamed without changes.
Oops, something went wrong.