Skip to content

Commit 4794491

Browse files
committed
Small cleanup in pyproject.toml (ansible#176)
* Small clenaup in pyproject.toml * Update pyproject.toml * Update pyproject.toml
1 parent 017c32f commit 4794491

File tree

1 file changed

+9
-15
lines changed

1 file changed

+9
-15
lines changed

pyproject.toml

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ requires = [
88
[project]
99
authors = [{"email" = "bthornto@redhat.com", "name" = "Bradley A. Thornton"}]
1010
classifiers = [
11-
'Development Status :: 2 - Pre-Alpha',
11+
'Development Status :: 5 - Production/Stable',
1212
'Intended Audience :: Developers',
1313
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
1414
'Operating System :: OS Independent',
@@ -26,7 +26,7 @@ description = "A pip-like ansible collection installer."
2626
dynamic = ["dependencies", "optional-dependencies", "version"]
2727
keywords = ["ansible"]
2828
license = {text = "GPL-3.0-only"}
29-
maintainers = [{"email" = "bthornto@redhat.com", "name" = "Bradley Thornton"}]
29+
maintainers = [{"email" = "info@ansible.com", "name" = "Ansible by Red Hat"}]
3030
name = "ansible-dev-environment"
3131
readme = "README.md"
3232
requires-python = ">=3.10"
@@ -41,21 +41,19 @@ homepage = "https://github.com/ansible/ansible-dev-environment"
4141
repository = "https://github.com/ansible/ansible-dev-environment"
4242

4343
[tool.coverage.report]
44-
ignore_errors = true
4544
exclude_lines = ["if TYPE_CHECKING:", "pragma: no cover"]
4645
fail_under = 72
46+
ignore_errors = true
4747
show_missing = true
4848
skip_covered = true
4949
skip_empty = true
5050
sort = "Cover"
5151

5252
[tool.coverage.run]
53-
source_pkgs = ["ansible_dev_environment"]
54-
# Do not use branch until bug is fixes:
55-
# https://github.com/nedbat/coveragepy/issues/605
56-
# branch = true
57-
parallel = true
53+
branch = false # https://github.com/nedbat/coveragepy/issues/605
5854
concurrency = ["multiprocessing", "thread"]
55+
parallel = true
56+
source_pkgs = ["ansible_dev_environment"]
5957

6058
[tool.mypy]
6159
files = ["src", "tests"]
@@ -320,13 +318,8 @@ lines-after-imports = 2 # Ensures consistency for cases when there's variable vs
320318
lines-between-types = 1 # Separate import/from with 1 line
321319

322320
[tool.ruff.lint.per-file-ignores]
323-
# SLF001: Allow private member access in tests
324-
# S101 Allow assert in tests
325-
# S602 Allow shell in test
326-
# T201 Allow print in tests
327-
"tests/**" = ["SLF001", "S101", "S602", "T201"]
328-
# SIM108, file is generated
329321
"_version.py" = ["SIM108"]
322+
"tests/**" = ["SLF001", "S101", "S602", "T201"]
330323

331324
[tool.ruff.lint.pydocstyle]
332325
convention = "google"
@@ -348,8 +341,9 @@ git_describe_command = [
348341
"v*.*"
349342
]
350343
local_scheme = "no-local-version"
351-
tag_regex = '^(?P<prefix>v)?(?P<version>[^\+]+)(?P<suffix>.*)?$'
352344
write_to = "src/ansible_dev_environment/_version.py"
353345

354346
[tool.tomlsort]
355347
in_place = true
348+
sort_inline_tables = true
349+
sort_table_keys = true

0 commit comments

Comments
 (0)