Skip to content

Commit

Permalink
Add ruff configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
H1rono committed Jun 29, 2024
1 parent 94de525 commit 442cce1
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .ruff.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
line-length = 90
indent-width = 4
target-version = "py310"

[lint]
# https://docs.astral.sh/ruff/rules/
# F: Pyflakes
# E, W: pycodestyle
# I: isort
# A: flake8-builtins
# COM: flake8-commas
# SLF, flake8-self
# SIM: flake8-simplify
# RUF: Ruff-specific rules
select = ["F", "E", "W", "I", "A", "COM", "SLF", "SIM", "RUF"]
ignore = []

fixable = ["ALL"]

[format]
quote-style = "double"
indent-style = "space"

0 comments on commit 442cce1

Please sign in to comment.