davanstrien HF staff commited on
Commit
4eef067
β€’
1 Parent(s): edb2b40

Add pyproject.toml file with Ruff configuration

Browse files
Files changed (1) hide show
  1. pyproject.toml +34 -0
pyproject.toml ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [tool.ruff]
2
+ # Exclude a variety of commonly ignored directories.
3
+ exclude = [
4
+ ".bzr",
5
+ ".direnv",
6
+ ".eggs",
7
+ ".git",
8
+ ".git-rewrite",
9
+ ".hg",
10
+ ".ipynb_checkpoints",
11
+ ".mypy_cache",
12
+ ".nox",
13
+ ".pants.d",
14
+ ".pyenv",
15
+ ".pytest_cache",
16
+ ".pytype",
17
+ ".ruff_cache",
18
+ ".svn",
19
+ ".tox",
20
+ ".venv",
21
+ ".vscode",
22
+ "__pypackages__",
23
+ "_build",
24
+ "buck-out",
25
+ "build",
26
+ "dist",
27
+ "node_modules",
28
+ "site-packages",
29
+ "venv",
30
+ ]
31
+
32
+ # Same as Black.
33
+ line-length = 99
34
+ indent-width = 4