forked from OurHike/OurHike
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
20 lines (17 loc) · 768 Bytes
/
Copy pathpyproject.toml
File metadata and controls
20 lines (17 loc) · 768 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[tool.pytest.ini_options]
pythonpath = ["."]
testpaths = ["tests"]
addopts = "--cov=. --cov-report=term-missing"
[tool.coverage.run]
omit = [".venv/*", "tests/*"]
[tool.ruff]
line-length = 130
[tool.ruff.lint]
# This Ruff version's real zero-config default is ~829 rules (bandit-style
# security checks, async-specific rules, pylint refactor suggestions, etc) -
# verified via `ruff check --show-settings --isolated`, not assumed. That's
# far more opinionated than intended here, so this pins an explicit, narrow
# set instead: pyflakes (F) + core pycodestyle errors (E4/E7/E9) + import
# sorting (I) - matching this project's "boring, low-maintenance" preference
# (see TESTING.md) rather than every available rule category.
select = ["E4", "E7", "E9", "F", "I"]