We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f61111 commit 3d421e9Copy full SHA for 3d421e9
.github/workflows/build.yml
@@ -37,7 +37,15 @@ jobs:
37
if: runner.os == 'Linux'
38
run: |
39
# Critical checks
40
- mypy lean/ --ignore-missing-imports --check-untyped-defs
+ if mypy lean/ \
41
+ --ignore-missing-imports \
42
+ --check-untyped-defs \
43
+ --no-implicit-optional \
44
+ --warn-return-any \
45
+ --show-error-codes 2>&1 | grep -q "Missing positional argument\|\[call-arg\]"; then
46
+ echo "ERROR: Missing function arguments detected"
47
+ exit 1
48
+ fi
49
flake8 lean/ --select=F821 --ignore=ALL
50
51
# Warning checks (don't fail the build)
0 commit comments