Skip to content

Commit e1708ba

Browse files
committed
add ruff
1 parent fc65e74 commit e1708ba

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ name = "data-tutorials"
88
dynamic = ["version"]
99
dependencies = [
1010
"pytest",
11+
"ruff",
1112
]
1213
requires-python = ">=3.9"
1314
authors = [
@@ -42,3 +43,16 @@ packages = ["data_tutorials"]
4243
pythonpath = [
4344
"."
4445
]
46+
47+
[tool.ruff]
48+
line-length = 100
49+
indent-width = 2
50+
target-version = "py38"
51+
line-ending = "auto"
52+
53+
[tool.ruff.lint]
54+
55+
[tool.ruff.format]
56+
57+
[tool.ruff.lint.flake8-quotes]
58+
docstring-quotes = "double"

0 commit comments

Comments
 (0)