-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy path.prospector.yaml
45 lines (40 loc) · 1.47 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
39
40
41
42
43
44
45
inherits:
- duplicated
- utils:base
- utils:fix
- utils:no-design-checks
- utils:c2cwsgiutils
ignore-paths:
- commons/setup.py
- geoportal/setup.py
- admin/setup.py
- geoportal/c2cgeoportal_geoportal/scaffolds
- docker/qgisserver
- commons/c2cgeoportal_commons/alembic/main
- commons/c2cgeoportal_commons/alembic/static
mypy:
options:
python-version: '3.10'
bandit:
disable:
- B603 # subprocess call - check for execution of untrusted input
- B607 # Starting a process with a partial executable path
ruff:
disable:
- PTH # Path
- ARG005 # Unused lambda argument: `request`
- D102 # Missing docstring in public method
- D107 # Missing docstring in `__init__`
- BLE001 # Do not catch blind exception: `Exception`
- FIX001 # Line contains FIXME, consider resolving the issue
- TD001 # Invalid TODO tag: `FIXME`
- TD003 # Missing issue link for this TODO
- TRY003 # Avoid specifying long messages outside the exception class
- B904 # Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
- E722 # Do not use bare `except`
- S603 # `subprocess` call: check for execution of untrusted input
- S607 # Starting a process with a partial executable path
- S110 # `try`-`except`-`pass` detected, consider logging the exception
pycodestyle:
disable:
- N815 # variable '{}' in class scope should not be mixedCase