File tree Expand file tree Collapse file tree 1 file changed +65
-0
lines changed Expand file tree Collapse file tree 1 file changed +65
-0
lines changed Original file line number Diff line number Diff line change 1+ target-version = " py38"
2+ line-length = 120
3+ extend-exclude = [
4+ " migrations" ,
5+ ]
6+
7+ [format ]
8+ quote-style = " single"
9+ exclude = []
10+
11+ [lint ]
12+ select = [
13+ " B" , # possible bugs
14+ " BLE" , # broad exception
15+ " C4" , # comprehensions
16+ " DTZ" , # work with datetimes
17+ " E" , # code style
18+ " ERA" , # commented code
19+ " EXE" , # check executables
20+ " F" , # misc
21+ " FA" , # future annotations
22+ " FBT" , # booleans
23+ " FURB" , # modernizing
24+ " G" , # logging format
25+ " I" , # imports
26+ " ICN" , # import conventions
27+ " INT" , # i18n
28+ " ISC" , # stringc concat
29+ " PERF" , # perfomance
30+ " PIE" , # misc
31+ " PLC" , # misc
32+ " PLE" , # misc err
33+ " PT" , # pytest
34+ " PTH" , # pathlib
35+ " PYI" , # typing
36+ " RSE" , # exc raise
37+ " SLOT" , # slots related
38+ " TC" , # typing
39+ " UP" , # py upgrade
40+ ]
41+
42+ ignore = []
43+
44+
45+ [lint .extend-per-file-ignores ]
46+
47+ "demo/*" = [
48+ " ERA001" ,
49+ " B904" ,
50+ " F401" ,
51+ ]
52+
53+ "src/*" = [
54+ " FA100" ,
55+ ]
56+
57+ "src/sitetree/sitetreeapp.py" = [
58+ " TC001" ,
59+ ]
60+
61+ "tests/*" = [
62+ " E731" ,
63+ " PLC0415" ,
64+ " C408" ,
65+ ]
You can’t perform that action at this time.
0 commit comments