Skip to content

Commit

Permalink
Update .ruff.toml
Browse files Browse the repository at this point in the history
Co-authored-by: Stuart Mumford <[email protected]>
  • Loading branch information
CyclingNinja and Cadair committed Apr 18, 2024
1 parent 4eb6781 commit 116ff30
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
9 changes: 8 additions & 1 deletion .ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,15 @@ exclude = [
]

[lint]
select = ["E", "F", "W", "UP", "PT"]
select = [
"E",
#"F",
"W",
#"UP",
#"PT"
]
extend-ignore = [
"E712",
# pycodestyle (E, W)
"E501", # LineTooLong # TODO! fix
# pytest (PT)
Expand Down
2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ norecursedirs =
doctest_plus = enabled
doctest_optionflags = NORMALIZE_WHITESPACE FLOAT_CMP ELLIPSIS
text_file_format = rst
addopts = --doctest-rst -p no:unraisableexception -p no:threadexception -m "not mpl_image_compare" --doctest-rst --doctest-ignore-import-errors -p no:unraisableexception -p no:threadexception
addopts = --doctest-rst -p no:unraisableexception -p no:threadexception -m "not mpl_image_compare" --doctest-ignore-import-errors
remote_data_strict = True
filterwarnings =
# Turn all warnings into errors so they do not pass silently.
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ extras =
docs
commands =
pip freeze --all --no-input
sphinx-build -j auto --color -W --keep-going -b html -d _build/.doctrees . _build/html {posargs}
sphinx-build --color -W --keep-going -b html -d _build/.doctrees . _build/html {posargs}
python -c 'import pathlib; print("Documentation available under file://\{0\}".format(pathlib.Path(r"{toxinidir}") / "docs" / "_build" / "index.html"))'

[testenv:codestyle]
Expand Down

0 comments on commit 116ff30

Please sign in to comment.