-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprefact.yaml
More file actions
82 lines (82 loc) · 1.31 KB
/
prefact.yaml
File metadata and controls
82 lines (82 loc) · 1.31 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
project_root: .
package_name: ''
include:
- '**/*.py'
exclude:
- '**/__pycache__/**'
- '**/node_modules/**'
- '**/.venv/**'
- '**/venv/**'
- '**/.git/**'
- '**/build/**'
- '**/dist/**'
- '**/*.egg-info/**'
- '**/tests/**'
tools:
parallel: true
cache: true
ruff:
enabled: true
max_line_length: 88
select:
- E
- F
- W
- I
ignore:
- E501
mypy:
enabled: true
strict: false
ignore_missing_imports: true
isort:
enabled: true
profile: black
multi_line_output: 3
performance:
max_workers: 4
cache_size: 104857600
chunk_size: 10
rules:
unused-imports:
enabled: true
tools:
- ruff
- autoflake
severity: error
relative-imports:
enabled: true
tools:
- libcst
auto_fix: true
missing-return-type:
enabled: true
tools:
- mypy
severity: warning
llm-hallucinations:
enabled: true
magic-numbers:
enabled: true
plugins:
enabled: true
directories:
- ~/.prefact/plugins
- ./.prefact/plugins
environments:
development:
rules:
print-statements:
enabled: true
magic-numbers:
enabled: false
performance:
max_workers: 2
production:
rules:
print-statements:
enabled: false
magic-numbers:
enabled: true
performance:
max_workers: 8