Skip to content

Commit

Permalink
chore: add ruff to dev deps
Browse files Browse the repository at this point in the history
The `pyproject.toml` file contains a `[tool.ruff]` section, but Ruff is
missing from the dev dependencies. I assume this was an oversight and
this commits adds it.

I have also taken the opportunity to sort the dev (and `old_deps_pins`)
dependencies in alphabetical order.

Signed-off-by: JP-Ellis <josh@jpellis.me>
  • Loading branch information
JP-Ellis committed Feb 5, 2025
1 parent ad5412a commit 8989090
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,27 +75,28 @@ dev = [
"pre-commit>=4",
"pyinstaller>=6",
"pylint>=3.2",
"pytest>=8",
"pytest-cov>=6",
"pytest>=8",
"requests>=2",
"ruff>=0.9.0",
"setuptools>=67",
"sphinx>=7",
"sphinx-autodoc-typehints>=2",
"tox>=4",
"sphinx>=7",
"tox-uv>=1",
"tox>=4",
"twine>=5",
"types-setuptools>=67",
"types-simplejson>=3",
]
# Pin some lower bounds for transitive dependencies in the old_deps tests
# This a basically determined by increasing them until getting a combination that runs.
old_deps_pins = [
"bottle>=0.12.20", # older ones didn't build
"bottle>=0.12.20", # older ones didn't build
"importlib_metadata>=3.6",
"jaraco-functools>=4",
"lxml>=5.3.0", # older ones don't have wheels for recent Python versions
"lxml>=5.3.0", # older ones don't have wheels for recent Python versions
"more-itertools>=6",
"pytest>=7.2", # also used for running the tests of Fava, needs to somewhat recent
"pytest>=7.2", # also used for running the tests of Fava, needs to somewhat recent
"python-dateutil>=2",
"pytz>=2020",
"setuptools>=67",
Expand Down

0 comments on commit 8989090

Please sign in to comment.