File: pyproject.toml

package info (click to toggle)
python-sushy 5.7.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,036 kB
  • sloc: python: 16,382; makefile: 24; sh: 2
file content (27 lines) | stat: -rw-r--r-- 665 bytes parent folder | download | duplicates (2)
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
[build-system]
requires = ["pbr>=6.0.0", "setuptools>=64.0.0"]
build-backend = "pbr.build"

[tool.doc8]
ignore = ["D001"]

[tool.ruff]
line-length = 79
target-version = "py37"

[tool.ruff.lint]
select = [
    "E",        # pycodestyle (error)
    "F",        # pyflakes
    "G",        # flake8-logging-format
    "LOG",      # flake8-logging
    "S",        # flake8-bandit
    "UP",       # pyupgrade
]

[tool.ruff.lint.per-file-ignores]
"sushy/tests/**/*.py" = [
    "S104",     # disable 'hardcoded_bind_all_interfaces' for tests
    "S105",     # disable 'hardcoded_password_string' for tests
    "S106",     # disable 'hardcoded_password_funcarg' for tests
]