File tree 1 file changed +66
-0
lines changed
1 file changed +66
-0
lines changed Original file line number Diff line number Diff line change
1
+ [build-system ]
2
+ requires = [" setuptools" ]
3
+ build-backend = " setuptools.build_meta"
4
+
5
+
6
+ [tool .ruff ]
7
+ # Exclude a variety of commonly ignored directories.
8
+ exclude = [
9
+ " .bzr" ,
10
+ " .direnv" ,
11
+ " .eggs" ,
12
+ " .git" ,
13
+ " .git-rewrite" ,
14
+ " .hg" ,
15
+ " .ipynb_checkpoints" ,
16
+ " .mypy_cache" ,
17
+ " .nox" ,
18
+ " .pants.d" ,
19
+ " .pyenv" ,
20
+ " .pytest_cache" ,
21
+ " .pytype" ,
22
+ " .ruff_cache" ,
23
+ " .svn" ,
24
+ " .tox" ,
25
+ " .venv" ,
26
+ " .vscode" ,
27
+ " __pypackages__" ,
28
+ " _build" ,
29
+ " buck-out" ,
30
+ " build" ,
31
+ " dist" ,
32
+ " node_modules" ,
33
+ " site-packages" ,
34
+ " venv" ,
35
+ ]
36
+
37
+ # Same as Black.
38
+ line-length = 89
39
+ indent-width = 4
40
+
41
+ # Assume Python 3.8
42
+ target-version = " py39"
43
+
44
+ [tool .ruff .lint ]
45
+ select = [
46
+ " F" , # Pyflakes
47
+ " I" , # isort
48
+ " PL" , # Pylint
49
+ ]
50
+
51
+ [tool .ruff .format ]
52
+ # Like Black, use double quotes for strings.
53
+ quote-style = " double"
54
+
55
+ # Like Black, indent with spaces, rather than tabs.
56
+ indent-style = " space"
57
+
58
+ # Like Black, respect magic trailing commas.
59
+ skip-magic-trailing-comma = false
60
+
61
+ # Like Black, automatically detect the appropriate line ending.
62
+ line-ending = " auto"
63
+
64
+
65
+ [tool .ruff .lint .per-file-ignores ]
66
+ "__init__.py" = [" F401" ]
You can’t perform that action at this time.
0 commit comments