-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy path.prospector.yaml
38 lines (34 loc) · 1.13 KB
/
.prospector.yaml
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
inherits:
- duplicated
- utils:base
- utils:fix
- utils:no-design-checks
ignore-patterns:
- ^tilecloud/scripts/tc_.*\.py
- ^examples/.*\.py
pylint:
options:
extension-pkg-allow-list: cairo
disable:
- cyclic-import # see: https://github.com/PyCQA/pylint/issues/850
mypy:
options:
python-version: '3.10'
ruff:
options:
target-version: py310
disable:
- D102 # Missing docstring in public method
- ARG002 # Unused method argument
- PERF203 # `try`-`except` within a loop incurs performance overhead
- TRY300 # Consider moving this statement to an `else` block
- PTH # Path
- BLE001 # Do not catch blind exception
- TD # TODO
- FIX # FIXME
- PGH003 # Use specific rule codes when ignoring type issues
- TRY003 # Avoid specifying long messages outside the exception class
- ISC003 # Explicitly concatenated string should be implicitly concatenated
- N818 # Exception name `{}` should be named with an Error suffix
- G201 # Logging `.exception(...)` should be used instead of `.error(..., exc_info=True)`
- A005 # Module `queue` shadows a Python standard-library module