mirror of
https://github.com/vale981/melpazoid
synced 2025-03-04 17:01:40 -05:00
move from black --check
to ruff format --check
This commit is contained in:
parent
299543a9ac
commit
81a3f5d573
3 changed files with 9 additions and 2 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
@ -18,7 +18,7 @@ jobs:
|
||||||
sudo apt-get install emacs
|
sudo apt-get install emacs
|
||||||
emacs --version
|
emacs --version
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install . mypy pytest black
|
pip install . mypy pytest ruff
|
||||||
- name: Test
|
- name: Test
|
||||||
run: make test-melpazoid
|
run: make test-melpazoid
|
||||||
|
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -25,4 +25,4 @@ image:
|
||||||
test-melpazoid:
|
test-melpazoid:
|
||||||
mypy --strict --non-interactive --install-types melpazoid
|
mypy --strict --non-interactive --install-types melpazoid
|
||||||
pytest --doctest-modules --durations=5
|
pytest --doctest-modules --durations=5
|
||||||
black -S --check .
|
ruff format --check .
|
||||||
|
|
7
pyproject.toml
Normal file
7
pyproject.toml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
[project]
|
||||||
|
name = "melpazoid"
|
||||||
|
version = "0.0"
|
||||||
|
requires-python = ">=3.10"
|
||||||
|
|
||||||
|
[tool.ruff.format]
|
||||||
|
quote-style = "preserve"
|
Loading…
Add table
Reference in a new issue