|
1 | 1 | [build-system] |
2 | | -requires = ["setuptools>=77"] |
3 | 2 | build-backend = "setuptools.build_meta" |
| 3 | +requires = [ "setuptools>=77" ] |
4 | 4 |
|
5 | 5 | [project] |
6 | 6 | name = "unittest2pytest" |
7 | | -authors = [{name = "Hartmut Goebel", email = "h.goebel@crazy-compilers.com"}] |
8 | | -license = "GPL-3.0-or-later" |
9 | | -license-files = ["COPYING-GPLv3.txt", "AUTHORS.txt"] |
10 | 7 | description = "Convert unittest test-cases to pytest" |
| 8 | +license = "GPL-3.0-or-later" |
| 9 | +license-files = [ "COPYING-GPLv3.txt", "AUTHORS.txt" ] |
| 10 | +authors = [ { name = "Hartmut Goebel", email = "h.goebel@crazy-compilers.com" } ] |
| 11 | +requires-python = ">=3.9" |
11 | 12 | classifiers = [ |
12 | | - "Development Status :: 4 - Beta", |
13 | | - "Environment :: Console", |
14 | | - "Intended Audience :: Developers", |
15 | | - "Operating System :: OS Independent", |
16 | | - "Programming Language :: Python", |
17 | | - "Programming Language :: Python :: 3", |
18 | | - "Programming Language :: Python :: 3 :: Only", |
19 | | - "Programming Language :: Python :: 3.9", |
20 | | - "Programming Language :: Python :: 3.10", |
21 | | - "Programming Language :: Python :: 3.11", |
22 | | - "Programming Language :: Python :: 3.12", |
23 | | - "Programming Language :: Python :: 3.13", |
24 | | - "Programming Language :: Python :: 3.14", |
25 | | - "Programming Language :: Python :: 3.15", |
26 | | - "Topic :: Software Development", |
27 | | - "Topic :: Utilities", |
| 13 | + "Development Status :: 4 - Beta", |
| 14 | + "Environment :: Console", |
| 15 | + "Intended Audience :: Developers", |
| 16 | + "Operating System :: OS Independent", |
| 17 | + "Programming Language :: Python", |
| 18 | + "Programming Language :: Python :: 3 :: Only", |
| 19 | + "Programming Language :: Python :: 3.9", |
| 20 | + "Programming Language :: Python :: 3.10", |
| 21 | + "Programming Language :: Python :: 3.11", |
| 22 | + "Programming Language :: Python :: 3.12", |
| 23 | + "Programming Language :: Python :: 3.13", |
| 24 | + "Programming Language :: Python :: 3.14", |
| 25 | + "Programming Language :: Python :: 3.15", |
| 26 | + "Topic :: Software Development", |
| 27 | + "Topic :: Utilities", |
28 | 28 | ] |
29 | | -dynamic = ["readme", "version"] |
30 | | -requires-python = ">=3.9" |
31 | | -dependencies = ["fissix"] |
32 | | - |
33 | | -[project.urls] |
34 | | -Homepage = "https://github.com/pytest-dev/unittest2pytest" |
35 | | - |
36 | | -[project.scripts] |
37 | | -unittest2pytest = "unittest2pytest.__main__:main" |
| 29 | +dynamic = [ "readme", "version" ] |
| 30 | +dependencies = [ "fissix" ] |
| 31 | +urls.Homepage = "https://github.com/pytest-dev/unittest2pytest" |
| 32 | +scripts.unittest2pytest = "unittest2pytest.__main__:main" |
38 | 33 |
|
39 | 34 | [tool.setuptools] |
40 | | -packages = ["unittest2pytest", "unittest2pytest.fixes"] |
| 35 | +packages = [ "unittest2pytest", "unittest2pytest.fixes" ] |
41 | 36 | zip-safe = false |
42 | 37 | include-package-data = false |
| 38 | +dynamic.readme = { file = [ "README.rst", "NEWLINE.rst", "CHANGELOG.rst" ], content-type = "text/x-rst" } |
| 39 | +dynamic.version = { attr = "unittest2pytest.__version__" } |
43 | 40 |
|
44 | | -[tool.setuptools.dynamic] |
45 | | -readme = {file = ["README.rst", "NEWLINE.rst", "CHANGELOG.rst"], content-type = "text/x-rst"} |
46 | | -version = {attr = "unittest2pytest.__version__"} |
| 41 | +[tool.ruff] |
| 42 | +target-version = "py39" |
| 43 | +extend-exclude = [ "tests/fixtures" ] |
| 44 | +lint.select = [ "E", "F", "I", "UP", "W" ] |
| 45 | +lint.ignore = [ "E501", "E701", "E741", "UP031" ] |
| 46 | +lint.per-file-ignores."unittest2pytest/fixes/fix_remove_class.py" = [ "W291" ] |
| 47 | +lint.per-file-ignores."unittest2pytest/fixes/fix_self_assert.py" = [ "F841" ] |
| 48 | + |
| 49 | +[tool.pyproject-fmt] |
| 50 | +max_supported_python = "3.15" |
| 51 | + |
| 52 | +[tool.tox] |
| 53 | +env_list = [ "py39", "py310", "py311", "py312", "py313", "py314", "py315" ] |
| 54 | +env_run_base.deps = [ "pytest" ] |
| 55 | +env_run_base.commands = [ [ "pytest", "{posargs}" ] ] |
47 | 56 |
|
48 | 57 | [tool.zest-releaser] |
49 | 58 | python-file-with-version = "unittest2pytest/__init__.py" |
50 | 59 | push-changes = false |
51 | 60 | tag-format = "v{version}" |
52 | 61 | tag-message = "unittest2pytest {version}" |
53 | 62 | tag-signing = true |
54 | | - |
55 | | -[tool.ruff] |
56 | | -target-version = "py39" |
57 | | -extend-exclude = ["tests/fixtures"] |
58 | | - |
59 | | -[tool.ruff.lint] |
60 | | -select = ["E", "F", "I", "W", "UP"] |
61 | | -ignore = ["E501", "E701", "E741", "UP031"] |
62 | | - |
63 | | -[tool.ruff.lint.per-file-ignores] |
64 | | -"unittest2pytest/fixes/fix_remove_class.py" = ["W291"] |
65 | | -"unittest2pytest/fixes/fix_self_assert.py" = ["F841"] |
66 | | - |
67 | | -[tool.tox] |
68 | | -env_list = ["py39", "py310", "py311", "py312", "py313", "py314", "py315"] |
69 | | - |
70 | | -[tool.tox.env_run_base] |
71 | | -deps = ["pytest"] |
72 | | -commands = [["pytest", "{posargs}"]] |
0 commit comments