-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
61 lines (53 loc) · 1.74 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "autohooks-plugin-ruff"
version = "25.2.1.dev1"
description = "An autohooks plugin for python code formatting via ruff"
license = "GPL-3.0-or-later"
authors = [
"Greenbone AG <info@greenbone.net>",
"jorgegomzar <jorge.gomzar@gmail.com",
]
readme = "README.md"
homepage = "https://github.com/greenbone/autohooks-plugin-ruff"
repository = "https://github.com/greeenbone/autohooks-plugin-ruff"
# Full list: https://pypi.org/pypi?%3Aaction=list_classifiers
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Environment :: Console",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
]
packages = [
{ include = "autohooks" },
{ include = "poetry.lock", format = "sdist" },
]
keywords = ["git", "formatting", "linting", "hooks", "ruff"]
[tool.poetry.dependencies]
python = "^3.9"
ruff = ">=0.0.272"
autohooks = ">=25.2.0"
[tool.poetry.group.dev.dependencies]
coverage = ">=7.2.7"
[tool.autohooks]
mode = "poetry"
pre-commit = ["autohooks.plugins.ruff", "autohooks.plugins.ruff.format"]
[tool.pontos.version]
version-module-file = "autohooks/plugins/ruff/__version__.py"
[tool.ruff]
exclude = [".pytest_cache", ".venv"]
line-length = 80
target-version = "py39"
[tool.ruff.lint]
ignore = ["E731"]
extend-select = ["I", "PLE", "PLW"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]