Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
fix: ruff configuration lines
Browse files Browse the repository at this point in the history
  • Loading branch information
esavary committed Mar 21, 2024
1 parent 81b3690 commit e7b5ab0
Showing 1 changed file with 11 additions and 29 deletions.
40 changes: 11 additions & 29 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -143,46 +143,28 @@ line-length = 99
extend-select = [
"F",
"E",
"C",
"W",
"I",
"UP",
"YTT",
"S",
"BLE",
"B",
"A",
# "CPY",
"C4",
"DTZ",
"T10",
# "EM",
"EXE",
"FA",
"ISC",
"ICN",
"PT",
"Q",
"B950",
]
ignore = [
"S311", # We are not using random for cryptographic purposes
"ISC001",
"S603",
"N802",
"N806",
"W503",
"E203",
]

[tool.ruff.lint.flake8-quotes]
inline-quotes = "single"
inline-quotes = "double"

[tool.ruff.lint.extend-per-file-ignores]
"*/test_*.py" = ["S101"]
"docs/source/conf.py" = ["A001"]
"mriqc/bin/nib_hash.py" = ["S324"]
"mriqc/config.py" = ["S105"]
"mriqc/conftest.py" = ["PT004"]
"mriqc/engine/plugin.py" = ["BLE001"]
"mriqc/utils/debug.py" = ["A002", "T100"]
"*/__init__.py" = ["F401"]
"docs/conf.py" = ["E265"]
"/^\\s*\\.\\. _.*?: http/" = ["E501"]

[tool.ruff.format]
quote-style = "single"
quote-style = "double"

[tool.pytest.ini_options]
pythonpath = "src/ test/"
Expand Down

0 comments on commit e7b5ab0

Please sign in to comment.