mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-09 01:03:24 +00:00
Use ruff as linter
This commit is contained in:
@@ -18,3 +18,19 @@ ignore-regex = "\\\\[fnrstv]"
|
||||
markers = [
|
||||
"online",
|
||||
]
|
||||
|
||||
[tool.ruff]
|
||||
select = [
|
||||
"C4", # flake8-comprehensions
|
||||
"COM", # flake8-commas
|
||||
"I", # isort
|
||||
"ISC", # flake8-implicit-str-concat
|
||||
"PIE", # flake8-pie
|
||||
"RUF", # Ruff-specific rules
|
||||
"UP", # pyupgrade
|
||||
]
|
||||
line-length = 110
|
||||
target-version = "py38"
|
||||
|
||||
[tool.ruff.isort]
|
||||
known-first-party = [ "vcr" ]
|
||||
Reference in New Issue
Block a user