Skip to content

Commit c436b41

Browse files
committed
ci: add pyproject.toml for ruff configuration
- Add ruff configuration for code formatting and linting - Set line length to 120 and target Python 3.10
1 parent 51b68e9 commit c436b41

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[tool.ruff]
2+
line-length = 120
3+
target-version = "py310"
4+
5+
[tool.ruff.lint]
6+
select = ["E", "F", "W", "I", "N", "UP", "B", "C4", "DTZ", "T10", "EM", "ISC", "ICN", "PIE", "T20", "PYI", "PT", "Q", "RSE", "RET", "SIM", "ARG", "PTH", "ERA", "PD", "PGH", "PL", "TRY", "NPY", "RUF"]
7+
ignore = []
8+
9+
[tool.ruff.format]
10+
quote-style = "double"
11+
indent-style = "space"
12+
skip-magic-trailing-comma = false
13+
line-ending = "auto"

0 commit comments

Comments
 (0)