Commit f21a0b81 authored by Baber's avatar Baber
Browse files

nit

parent f264f2e2
...@@ -33,7 +33,7 @@ repos: ...@@ -33,7 +33,7 @@ repos:
hooks: hooks:
# Run the linter. # Run the linter.
- id: ruff-check - id: ruff-check
args: [ --fix, --unsafe-fixes] args: [ --fix]
# Run the formatter. # Run the formatter.
- id: ruff-format - id: ruff-format
- repo: https://github.com/codespell-project/codespell - repo: https://github.com/codespell-project/codespell
......
...@@ -106,7 +106,8 @@ plugins.md034.enabled = false # no-bare-urls ...@@ -106,7 +106,8 @@ plugins.md034.enabled = false # no-bare-urls
[tool.ruff] [tool.ruff]
target-version = "py39" target-version = "py39"
lint.extend-select = ["I", "UP", "E", "C419", "F", "B", "SIM"] lint.extend-select = ["I", "UP", "E", "C419", "F", "B", "SIM"]
lint.ignore = ["E402", "E731", "E501", "E111", "E114", "E117"] lint.ignore = ["E402", "E731", "E501", "E111", "E114", "E117", "E741"]
fixable = ["I001", "F401", "UP"]
[tool.ruff.lint.isort] [tool.ruff.lint.isort]
combine-as-imports = true combine-as-imports = true
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment