File tree 1 file changed +35
-0
lines changed
1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ # autoflake is used for autoformatting Python code
2
+ #
3
+ # ref: https://github.com/PyCQA/autoflake#readme
4
+ #
5
+ [tool .autoflake ]
6
+ ignore-init-module-imports = true
7
+ remove-all-unused-imports = true
8
+ remove-duplicate-keys = true
9
+ remove-unused-variables = true
10
+
11
+
12
+ # isort is used for autoformatting Python code
13
+ #
14
+ # ref: https://pycqa.github.io/isort/
15
+ #
16
+ [tool .isort ]
17
+ profile = " black"
18
+
19
+
20
+ # black is used for autoformatting Python code
21
+ #
22
+ # ref: https://black.readthedocs.io/en/stable/
23
+ #
24
+ [tool .black ]
25
+ skip-string-normalization = true
26
+ # target-version should be all supported versions, see
27
+ # https://github.com/psf/black/issues/751#issuecomment-473066811
28
+ target_version = [
29
+ " py36" ,
30
+ " py37" ,
31
+ " py38" ,
32
+ " py39" ,
33
+ " py310" ,
34
+ " py311" ,
35
+ ]
You can’t perform that action at this time.
0 commit comments