Browse Source

🔧 Move all mypy configurations to configuration file (#987)

pull/1047/head
Taneli Hukkinen 5 years ago
committed by GitHub
parent
commit
1da8d3f1e6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      mypy.ini
  2. 2
      scripts/lint.sh

1
mypy.ini

@ -1,2 +1,3 @@
[mypy]
disallow_untyped_defs = True
ignore_missing_imports = True

2
scripts/lint.sh

@ -3,6 +3,6 @@
set -e
set -x
mypy fastapi --disallow-untyped-defs
mypy fastapi
black fastapi tests --check
isort --multi-line=3 --trailing-comma --force-grid-wrap=0 --combine-as --line-width 88 --recursive --check-only --thirdparty fastapi fastapi tests

Loading…
Cancel
Save