Skip to content
Snippets Groups Projects
pyproject.toml 849 B
Newer Older
Yoann Schneider's avatar
Yoann Schneider committed
[tool.ruff]
exclude = [".git", "__pycache__"]
ignore = ["E501"]
select = [
    # pycodestyle
    "E",
    "W",
    # Pyflakes
    "F",
    # Flake8 Debugger
    "T1",
    # Isort
    "I",
    # Implicit Optional
    "RUF013",
    # pyupgrade
    "UP",
    # flake8-bugbear
    "B",
    # flake8-simplify
    "SIM",
    # flake8-pytest-style
    "PT",
[tool.ruff.per-file-ignores]
# Ignore `pytest-composite-assertion` rules of `flake8-pytest-style` linter for non-test files
"arkindex_worker/**/*.py" = ["PT018"]

Yoann Schneider's avatar
Yoann Schneider committed
[tool.ruff.isort]
known-first-party = ["arkindex", "arkindex_common", "arkindex_worker"]
known-third-party = [
    "PIL",
    "apistar",
    "gitlab",
    "gnupg",
    "peewee",
    "playhouse",
    "pytest",
    "requests",
    "responses",
    "setuptools",
    "sh",
    "shapely",
    "tenacity",
    "yaml",
    "zstandard",
]