File size: 1,532 Bytes
6e040df
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
[tool.ruff]
exclude = [
    ".git",
    ".vscode",
    ".pytest_cache",
    ".bamboo",
    ".tecton",
    ".mypy_cache",
    ".env",
]
ignore = [
    "B008",
    "ISC001",
    "E501",
    "W191"
]
line-length = 88
select = [
    "B", # https://pypi.org/project/flake8-bugbear/
    "E", # https://pycodestyle.pycqa.org/en/latest/intro.html#error-codes
    "F", # https://flake8.pycqa.org/en/latest/user/error-codes.html
    "W", # https://pycodestyle.pycqa.org/en/latest/intro.html#error-codes
    "I", # https://pycqa.github.io/isort/
    "N", # https://github.com/PyCQA/pep8-naming
    "C4", # https://github.com/adamchainz/flake8-comprehensions
    "EXE", # https://pypi.org/project/flake8-executable/
    "ISC", # https://github.com/flake8-implicit-str-concat/flake8-implicit-str-concat
    "ICN", # https://pypi.org/project/flake8-import-conventions/
    "PIE", # https://pypi.org/project/flake8-pie/
    "PT", # https://github.com/m-burst/flake8-pytest-style
    "RET", # https://pypi.org/project/flake8-return/
    "SIM", # https://pypi.org/project/flake8-simplify/
    "ERA", # https://pypi.org/project/flake8-eradicate/
    "PLC", # https://beta.ruff.rs/docs/rules/#convention-plc
    "RUF", # https://beta.ruff.rs/docs/rules/#ruff-specific-rules-ruf
    "ARG", # https://beta.ruff.rs/docs/rules/#flake8-unused-arguments-arg
]

[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]

[tool.mypy]
files = [
  "**/*.py",
]
follow_imports = "silent"
ignore_missing_imports = true
scripts_are_modules = true
python_version = 3.9