Add ruff config

pull/3/head
Drew Bednar 1 year ago
parent 4859f8a570
commit 1d544043f8

@ -8,3 +8,30 @@ filter_files = true
line-length = 120 line-length = 120
skip-string-normalization = true skip-string-normalization = true
exclude = "(^/\\.git|^/env/|^/venv/|^/node_modules/)" exclude = "(^/\\.git|^/env/|^/venv/|^/node_modules/)"
[tool.ruff]
line-length = 120
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]

Loading…
Cancel
Save