|
1 |
| -# for now only be used for black and ruff config |
2 |
| -# maybe in the future we will use it instead of setup.py / setup.cfg |
| 1 | +[build-system] |
| 2 | +requires = ["setuptools"] |
| 3 | +build-backend = "setuptools.build_meta" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "ansible-variables" |
| 7 | +version = "0.7.2" |
| 8 | +dependencies = [ |
| 9 | + "ansible-core>=2.11.0", |
| 10 | + "rich" |
| 11 | +] |
| 12 | +requires-python = ">=3.8" |
| 13 | +authors = [ |
| 14 | + { "name" = "Christoph Hille", "email" = "[email protected]"} |
| 15 | +] |
| 16 | +description = "Keep track of Ansible host context variables" |
| 17 | +readme = "README.md" |
| 18 | +license = {file = "LICENSE"} |
| 19 | +classifiers = [ |
| 20 | + "Development Status :: 4 - Beta", |
| 21 | + "Environment :: Console", |
| 22 | + "Intended Audience :: Developers", |
| 23 | + "Intended Audience :: Information Technology", |
| 24 | + "Intended Audience :: System Administrators", |
| 25 | + "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", |
| 26 | + "Natural Language :: English", |
| 27 | + "Operating System :: POSIX", |
| 28 | + "Programming Language :: Python :: 3", |
| 29 | + "Programming Language :: Python :: 3.8", |
| 30 | + "Programming Language :: Python :: 3.9", |
| 31 | + "Programming Language :: Python :: 3.10", |
| 32 | + "Programming Language :: Python :: 3.11", |
| 33 | + "Programming Language :: Python :: 3.12", |
| 34 | + "Programming Language :: Python :: 3 :: Only", |
| 35 | + "Topic :: System :: Installation/Setup", |
| 36 | + "Topic :: System :: Systems Administration", |
| 37 | + "Topic :: Utilities", |
| 38 | +] |
| 39 | + |
| 40 | +[project.urls] |
| 41 | +Homepage = "https://github.com/hille721/ansible-variables" |
| 42 | +Documentation = "https://github.com/hille721/ansible-variables/blob/main/README.md" |
| 43 | +Repository = "https://github.com/hille721/ansible-variables.git" |
| 44 | +"Bug Tracker" = "https://github.com/hille721/ansible-variables/issues" |
| 45 | +Changelog = "https://github.com/hille721/ansible-variables/blob/master/CHANGELOG.md" |
| 46 | + |
| 47 | +[project.scripts] |
| 48 | +ansible-variables = "ansible_variables.cli.variables:main" |
| 49 | + |
| 50 | +[tool.setuptools] |
| 51 | +include-package-data = true |
| 52 | + |
| 53 | +[tool.setuptools.packages.find] |
| 54 | +where = ["lib"] |
| 55 | +exclude = ["tests"] |
| 56 | + |
3 | 57 | [tool.black]
|
4 | 58 | line-length = 120
|
5 | 59 |
|
| 60 | +[tool.pylint.format] |
| 61 | +max-line-length = 120 |
| 62 | + |
| 63 | +[tool.pylint."message control"] |
| 64 | +disable= ["C", "R"] |
| 65 | + |
6 | 66 | [tool.ruff]
|
7 | 67 | line-length = 120
|
| 68 | + |
| 69 | +[tool.ruff.lint] |
8 | 70 | select = [
|
9 | 71 | # Pyflakes
|
10 | 72 | "F",
|
11 | 73 | # Pycodestyle
|
12 | 74 | "E",
|
13 | 75 | "W",
|
14 | 76 | # isort
|
15 |
| - "I001" |
| 77 | + "I", |
| 78 | + # pylint |
| 79 | + "PLE", "PLW" |
16 | 80 | ]
|
17 | 81 |
|
18 |
| -[tool.ruff.isort] |
| 82 | +[tool.ruff.lint.isort] |
19 | 83 | known-first-party = ["ansible_variables"]
|
0 commit comments