File: ruff.toml

package info (click to toggle)
cookidoo-api 0.16.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,144 kB
  • sloc: python: 7,857; sh: 14; makefile: 3
file content (22 lines) | stat: -rw-r--r-- 841 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
extend = "../pyproject.toml"

[lint]
extend-select = [
    "PT001", # Use @pytest.fixture without parentheses
    "PT002", # Configuration for fixture specified via positional args, use kwargs
    "PT003", # The scope='function' is implied in @pytest.fixture()
    "PT006", # Single parameter in parameterize is a string, multiple a tuple
    "PT013", # Found incorrect pytest import, use simple import pytest instead
    "PT015", # Assertion always fails, replace with pytest.fail()
    "PT021", # use yield instead of request.addfinalizer
    "PT022", # No teardown in fixture, replace useless yield with return
]

extend-ignore = [
    "PLC", # pylint
    "PLE", # pylint
    "PLR", # pylint
    "PLW", # pylint
    "B904", # Use raise from to specify exception cause
    "N815", # Variable {name} in class scope should not be mixedCase
]