-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
60 lines (53 loc) · 1.66 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
[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[project]
authors = [
{ name = "Andrew Teixeira", email = "<[email protected]>"}
]
description = "Python interface to the Linux sudoers file"
dynamic = [ "dependencies" ]
keywords = ["linux", "sudoers"]
license = { text = "BSD-3-Clause" }
name = "pysudoers"
readme = "README.md"
requires-python = ">=3.9,<4.0.0"
version = "2.2.0"
[project.urls]
homepage = "https://github.com/broadinstitute/python-sudoers.git"
repository = "https://github.com/broadinstitute/python-sudoers.git"
[tool.poetry.dependencies]
toml = "^0.10.2"
[tool.poetry.group.dev.dependencies]
bump2version = "^1.0.1"
coverage = "^7.6.4"
mock = "^5.1.0"
pydocstyle = "^6.3.0"
pyright = "^1.1.389"
pytest = "^8.3.4"
ruff = "^0.8.1"
testtools = "^2.7.2"
unittest2 = "^1.1.0"
yamllint = "^1.35.1"
[tool.ruff.lint]
select = ["ALL"]
# https://docs.astral.sh/ruff/rules
# Ignore pycodestyle that is redundant -- and can conflict -- with the
# formatter.
# Ignore flake8-logging-format because it's extremely ugly for dubious
# performance gains.
# Ignore two pydocstyle rules that cause internal conflicts and raise warnings.
# Ignore flake8-copyright because it's not necessary on closed-source software.
# Ignore two rules that ruff warns can cause conflicts with the formatter.
ignore = ["E", "G", "D203", "D212", "CPY", "COM812", "ISC001"]
[tool.ruff.lint.extend-per-file-ignores]
"tests/*" = [
# Don't require an __init__.py for tests.
"INP",
# Allow assert statements for pytest.
"S101",
# Allow using internal data members.
"SLF001",
]
[tool.ruff.lint.flake8-pytest-style]
fixture-parentheses = true