Skip to content

Commit

Permalink
Updated linting to include nbqa
Browse files Browse the repository at this point in the history
  • Loading branch information
axsaucedo committed Jun 27, 2021
1 parent dd5a96f commit 10af73e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions python/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,14 @@ lint: licenses
--no-pager diff \
--exit-code \
./licenses/license_info.no_versions.csv
nbqa black \
-- check \
../ --nbqa-skip-bad-cells --nbqa-mutate \
--nbqa-exclude "(proto|seldon_core/proto/|.eggs|.tox|_README\.ipynb)"
nbqa isort \
--check-only \
../ --profile black --nbqa-skip-bad-cells --nbqa-mutate \
--nbqa-exclude "(proto|seldon_core/proto/|.eggs|.tox|_README\.ipynb)"

.PHONY: clean
clean:
Expand Down

0 comments on commit 10af73e

Please sign in to comment.