-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
25 additions
and
24 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
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
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,7 +1,7 @@ | ||
[build-system] | ||
requires = [ | ||
"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 | ||
"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" | ||
|
||
|
@@ -12,9 +12,9 @@ dynamic = ["version", "dependencies", "optional-dependencies"] | |
name = "ansible-compat" | ||
description = "Ansible compatibility goodies" | ||
readme = "README.md" | ||
authors = [{"name" = "Sorin Sbarnea", "email" = "[email protected]"}] | ||
maintainers = [{"name" = "Sorin Sbarnea", "email" = "[email protected]"}] | ||
license = {text = "MIT"} | ||
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", | ||
|
@@ -33,7 +33,7 @@ classifiers = [ | |
"Topic :: Software Development :: Bug Tracking", | ||
"Topic :: Software Development :: Quality Assurance", | ||
"Topic :: Software Development :: Testing", | ||
"Topic :: Utilities" | ||
"Topic :: Utilities", | ||
] | ||
keywords = ["ansible"] | ||
|
||
|
@@ -79,14 +79,14 @@ ignore_missing_imports = true | |
|
||
[tool.pylint.BASIC] | ||
good-names = [ | ||
"f", # filename | ||
"f", # filename | ||
"i", | ||
"j", | ||
"k", | ||
"ns", # namespace | ||
"ns", # namespace | ||
"ex", | ||
"Run", | ||
"_" | ||
"_", | ||
] | ||
|
||
[tool.pylint.IMPORTS] | ||
|
@@ -102,7 +102,7 @@ disable = [ | |
"too-many-arguments", # PLR0913 | ||
"raise-missing-from", | ||
# Temporary disable duplicate detection we remove old code from prerun | ||
"duplicate-code" | ||
"duplicate-code", | ||
] | ||
|
||
[tool.pytest.ini_options] | ||
|
@@ -111,7 +111,7 @@ filterwarnings = [ | |
"error", | ||
# py312 ansible-core | ||
# https://github.com/ansible/ansible/issues/81906 | ||
"ignore:'importlib.abc.TraversableResources' is deprecated and slated for removal in Python 3.14:DeprecationWarning" | ||
"ignore:'importlib.abc.TraversableResources' is deprecated and slated for removal in Python 3.14:DeprecationWarning", | ||
] | ||
testpaths = ["test"] | ||
|
||
|
@@ -120,17 +120,17 @@ select = ["ALL"] | |
ignore = [ | ||
# Disabled on purpose: | ||
"ANN101", # Missing type annotation for `self` in method | ||
"D203", # incompatible with D211 | ||
"D203", # incompatible with D211 | ||
"D211", | ||
"D213", # incompatible with D212 | ||
"E501", # we use black | ||
"D213", # incompatible with D212 | ||
"E501", # we use black | ||
"RET504", # Unnecessary variable assignment before `return` statement | ||
# Temporary disabled during adoption: | ||
"S607", # Starting a process with a partial executable path | ||
"S607", # Starting a process with a partial executable path | ||
"PLR0912", # Bug https://github.com/charliermarsh/ruff/issues/4244 | ||
"PLR0913", # Bug https://github.com/charliermarsh/ruff/issues/4244 | ||
"RUF012", | ||
"PERF203" | ||
"PERF203", | ||
] | ||
target-version = "py39" | ||
|
||
|
@@ -148,9 +148,9 @@ known-third-party = ["packaging"] | |
convention = "pep257" | ||
|
||
[tool.setuptools.dynamic] | ||
dependencies = {file = [".config/requirements.in"]} | ||
optional-dependencies.docs = {file = [".config/requirements-docs.in"]} | ||
optional-dependencies.test = {file = [".config/requirements-test.in"]} | ||
dependencies = { file = [".config/requirements.in"] } | ||
optional-dependencies.docs = { file = [".config/requirements-docs.in"] } | ||
optional-dependencies.test = { file = [".config/requirements-test.in"] } | ||
|
||
[tool.setuptools_scm] | ||
local_scheme = "no-local-version" | ||
|
@@ -164,5 +164,5 @@ git_describe_command = [ | |
"--tags", | ||
"--long", | ||
"--match", | ||
"v*.*" | ||
"v*.*", | ||
] |