|
1 | | -[build-system] |
2 | | -requires = [ |
3 | | - "setuptools >= 64.0.0", # required by pyproject+setuptools_scm integration |
4 | | - "setuptools_scm[toml] >= 7.0.5", # required for "no-local-version" scheme |
5 | | - |
6 | | -] |
7 | | -build-backend = "setuptools.build_meta" |
8 | | - |
9 | 1 | [project] |
10 | | -# https://peps.python.org/pep-0621/#readme |
11 | | -requires-python = ">=3.8" |
12 | | -version = "0.3.0" |
13 | 2 | name = "pytest-github-actions-annotate-failures" |
14 | 3 | description = "pytest plugin to annotate failed tests with a workflow command for GitHub Actions" |
15 | 4 | readme = "README.md" |
| 5 | +# https://peps.python.org/pep-0621/#readme |
| 6 | +requires-python = ">=3.8" |
| 7 | +license = "MIT" |
16 | 8 | authors = [{ "name" = "utgwkk", "email" = "utagawakiki@gmail.com" }] |
17 | 9 | maintainers = [{ "name" = "utgwkk", "email" = "utagawakiki@gmail.com" }] |
18 | | -license = { text = "MIT" } |
| 10 | +keywords = ["ansible", "molecule", "plugin", "testing"] |
19 | 11 | classifiers = [ |
20 | 12 | "Development Status :: 5 - Production/Stable", |
21 | 13 | "Environment :: Console", |
| 14 | + "Framework :: Pytest", |
22 | 15 | "Intended Audience :: Developers", |
23 | 16 | "Intended Audience :: Information Technology", |
24 | 17 | "Intended Audience :: System Administrators", |
25 | | - "License :: OSI Approved :: MIT License", |
26 | | - "Framework :: Pytest", |
| 18 | + "Programming Language :: Python", |
27 | 19 | "Programming Language :: Python :: 3", |
| 20 | + "Programming Language :: Python :: 3 :: Only", |
28 | 21 | "Programming Language :: Python :: 3.8", |
29 | 22 | "Programming Language :: Python :: 3.9", |
30 | 23 | "Programming Language :: Python :: 3.10", |
31 | 24 | "Programming Language :: Python :: 3.11", |
32 | 25 | "Programming Language :: Python :: 3.12", |
33 | 26 | "Programming Language :: Python :: 3.13", |
34 | 27 | "Programming Language :: Python :: 3.14", |
35 | | - "Programming Language :: Python :: 3 :: Only", |
36 | | - "Programming Language :: Python", |
37 | | - "Topic :: System :: Systems Administration", |
38 | 28 | "Topic :: Software Development :: Quality Assurance", |
39 | 29 | "Topic :: Software Development :: Testing", |
| 30 | + "Topic :: System :: Systems Administration", |
40 | 31 | "Topic :: Utilities", |
41 | 32 | ] |
42 | | -keywords = ["ansible", "testing", "molecule", "plugin"] |
43 | | -dependencies = [ |
44 | | - "pytest>=7.0.0" |
45 | | -] |
| 33 | +dependencies = ["pytest>=7.0.0"] |
| 34 | +dynamic = ["version"] |
46 | 35 |
|
47 | 36 | [project.urls] |
| 37 | +changelog = "https://github.com/pytest-dev/pytest-github-actions-annotate-failures/releases" |
48 | 38 | homepage = "https://github.com/pytest-dev/pytest-github-actions-annotate-failures" |
49 | 39 | repository = "https://github.com/pytest-dev/pytest-github-actions-annotate-failures" |
50 | | -changelog = "https://github.com/pytest-dev/pytest-github-actions-annotate-failures/releases" |
51 | 40 |
|
52 | 41 | [project.entry-points.pytest11] |
53 | 42 | pytest_github_actions_annotate_failures = "pytest_github_actions_annotate_failures.plugin" |
54 | 43 |
|
55 | 44 | [dependency-groups] |
56 | | -dev = [{ include-group = "test"}] |
| 45 | +dev = [{ include-group = "test" }] |
57 | 46 | test = ["packaging"] |
58 | 47 |
|
| 48 | +[build-system] |
| 49 | +requires = [ |
| 50 | + "setuptools_scm[toml] >= 7.0.5", # required for "no-local-version" scheme |
| 51 | + "setuptools >= 64.0.0", # required by pyproject+setuptools_scm integration |
| 52 | +] |
| 53 | +build-backend = "setuptools.build_meta" |
59 | 54 |
|
60 | 55 | [tool.ruff.lint] |
61 | 56 | extend-select = [ |
62 | | - "B", # flake8-bugbear |
63 | | - "I", # isort |
64 | | - "ARG", # flake8-unused-arguments |
65 | | - "C4", # flake8-comprehensions |
66 | | - "EM", # flake8-errmsg |
67 | | - "ICN", # flake8-import-conventions |
68 | | - "ISC", # flake8-implicit-str-concat |
69 | | - "G", # flake8-logging-format |
70 | | - "PGH", # pygrep-hooks |
71 | | - "PIE", # flake8-pie |
72 | | - "PL", # pylint |
73 | | - "PT", # flake8-pytest-style |
74 | | - "RET", # flake8-return |
75 | | - "RUF", # Ruff-specific |
76 | | - "SIM", # flake8-simplify |
77 | | - "UP", # pyupgrade |
78 | | - "YTT", # flake8-2020 |
79 | | - "EXE", # flake8-executable |
| 57 | + "B", # flake8-bugbear |
| 58 | + "I", # isort |
| 59 | + "ARG", # flake8-unused-arguments |
| 60 | + "C4", # flake8-comprehensions |
| 61 | + "EM", # flake8-errmsg |
| 62 | + "ICN", # flake8-import-conventions |
| 63 | + "ISC", # flake8-implicit-str-concat |
| 64 | + "G", # flake8-logging-format |
| 65 | + "PGH", # pygrep-hooks |
| 66 | + "PIE", # flake8-pie |
| 67 | + "PL", # pylint |
| 68 | + "PT", # flake8-pytest-style |
| 69 | + "RET", # flake8-return |
| 70 | + "RUF", # Ruff-specific |
| 71 | + "SIM", # flake8-simplify |
| 72 | + "UP", # pyupgrade |
| 73 | + "YTT", # flake8-2020 |
| 74 | + "EXE", # flake8-executable |
80 | 75 | ] |
81 | 76 | ignore = [ |
82 | | - "PLR", # Design related pylint codes |
| 77 | + "PLR", # Design related pylint codes |
83 | 78 | ] |
84 | 79 | isort.required-imports = ["from __future__ import annotations"] |
85 | 80 |
|
86 | 81 | [tool.ruff.lint.per-file-ignores] |
87 | 82 | "tests/**" = ["T20"] |
| 83 | + |
| 84 | +[tool.setuptools_scm] |
| 85 | +# To prevent accidental pick of mobile version tags such 'v6' |
| 86 | +git_describe_command = [ |
| 87 | + "git", |
| 88 | + "describe", |
| 89 | + "--dirty", |
| 90 | + "--long", |
| 91 | + "--tags", |
| 92 | + "--match", |
| 93 | + "v*.*", |
| 94 | +] |
| 95 | +local_scheme = "no-local-version" |
| 96 | +tag_regex = "^(?P<prefix>v)?(?P<version>\\d+[^\\+]*)(?P<suffix>.*)?$" |
| 97 | +# version_file = "src/ansiblelint/_version.py" |
0 commit comments