move from black --check to ruff format --check

This commit is contained in:
riscy 2024-08-03 20:34:19 -07:00
parent 299543a9ac
commit 81a3f5d573
3 changed files with 9 additions and 2 deletions

View file

@ -18,7 +18,7 @@ jobs:
sudo apt-get install emacs
emacs --version
python -m pip install --upgrade pip
pip install . mypy pytest black
pip install . mypy pytest ruff
- name: Test
run: make test-melpazoid

View file

@ -25,4 +25,4 @@ image:
test-melpazoid:
mypy --strict --non-interactive --install-types melpazoid
pytest --doctest-modules --durations=5
black -S --check .
ruff format --check .

7
pyproject.toml Normal file
View file

@ -0,0 +1,7 @@
[project]
name = "melpazoid"
version = "0.0"
requires-python = ">=3.10"
[tool.ruff.format]
quote-style = "preserve"