-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add configuration for just task runner. (#95)
* Add configuration for just task runner. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
cadb59a
commit 37cbe94
Showing
4 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
pdf-docs: latex-docs | ||
make -C doc-source/build/latex/ | ||
|
||
latex-docs: | ||
SPHINX_BUILDER=latex tox -e docs | ||
|
||
unused-imports: | ||
tox -e lint -- --select F401 | ||
|
||
incomplete-defs: | ||
#!/usr/bin/env bash | ||
tox -e mypy -- --disallow-incomplete-defs --disallow-untyped-defs | grep "Function is missing a .* annotation" || exit 0 | ||
|
||
vdiff: | ||
git diff $(repo-helper show version -q)..HEAD | ||
bare-ignore: | ||
greppy '# type:? *ignore(?!\[|\w)' -s | ||
lint: unused-imports incomplete-defs bare-ignore | ||
tox -n qa | ||
default: lint | ||
true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters