Skip to content

Commit

Permalink
Making generate-stubs recipe a prereq to lint instead of release. Als…
Browse files Browse the repository at this point in the history
…o adding ``make lint`` to the Contributing guide.
  • Loading branch information
KaylaHood committed Jan 12, 2024
1 parent 2e5b06d commit e910dcc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTING.rst
Expand Up @@ -28,6 +28,7 @@ Making Changes
- Check for unnecessary whitespace with ``git diff --check`` before
committing.
- Make sure you have added the necessary tests for your changes.
- Run ``make lint`` in the repository directory and commit any changes it makes.
- Run *all* the tests to assure nothing else was accidentally broken.

Submitting Changes
Expand Down
7 changes: 4 additions & 3 deletions Makefile
Expand Up @@ -13,11 +13,12 @@ black:
isort:
isort --atomic .

lint: isort black mypy flake8
generate-stubs:
python generate-stubs.py

generate-stubs: python generate-stubs.py
lint: generate-stubs isort black mypy flake8

release: generate-stubs
release:
check-manifest
rm -rf build dist
python setup.py sdist bdist_wheel
Expand Down

0 comments on commit e910dcc

Please sign in to comment.