Skip to content

Commit

Permalink
Reorder items in Makefile to be more logical
Browse files Browse the repository at this point in the history
  • Loading branch information
wvanhed committed Jul 5, 2024
1 parent 8a4654a commit e05d4ba
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
all: clean lint formatcheck test build

test:
pytest -v
python -m doctest src/mijnbib/mijnbibliotheek.py
python -m doctest src/mijnbib/parsers.py
python -m doctest src/mijnbib/models.py
clean:
rm -rf dist
rm -rf src/*.egg-info

lint:
ruff check .

black: format # legacy alias
format:
ruff check --select I . --fix
ruff format .

lint:
ruff check .

# For CI/CD pipeline
formatcheck:
ruff check --select I .
ruff format --check .

clean:
rm -rf dist
rm -rf src/*.egg-info

test:
pytest -v
python -m doctest src/mijnbib/mijnbibliotheek.py
python -m doctest src/mijnbib/parsers.py
python -m doctest src/mijnbib/models.py

build:
pip install --upgrade pip
pip install --upgrade build
Expand Down

0 comments on commit e05d4ba

Please sign in to comment.