Skip to content

Commit

Permalink
Change black and mypy calls to not use wildcards
Browse files Browse the repository at this point in the history
Hopefully should help the Windows builds in the CI get closer to
working.
  • Loading branch information
ExcaliburZero committed Oct 24, 2023
1 parent 5bbd0eb commit 941eb53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.PHONY: test regression_test build

test:
python -m black **/*.py
python -m mypy **/*.py
python -m black .
python -m mypy .
python -m pylint cbpickaxe/*.py cbpickaxe_scripts/*.py

regression_test:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ cbpickaxe = ["py.typed"]
cbpickaxe_scripts = ["templates/*.html"]

[tool.mypy]
exclude = ["build", "docs"]
ignore_missing_imports = true
disallow_untyped_defs = true
show_error_codes = true
Expand Down

0 comments on commit 941eb53

Please sign in to comment.