committed by
GitHub
3 changed files with 13 additions and 7 deletions
@ -0,0 +1,6 @@ |
|||||
|
#!/bin/sh -e |
||||
|
set -x |
||||
|
|
||||
|
autoflake --remove-all-unused-imports --recursive --remove-unused-variables --in-place docs/src/ fastapi tests --exclude=__init__.py |
||||
|
black fastapi tests docs/src |
||||
|
isort --multi-line=3 --trailing-comma --force-grid-wrap=0 --combine-as --line-width 88 --recursive --thirdparty fastapi --apply fastapi tests docs/src |
@ -1,6 +1,8 @@ |
|||||
#!/bin/sh -e |
#!/usr/bin/env bash |
||||
|
|
||||
|
set -e |
||||
set -x |
set -x |
||||
|
|
||||
autoflake --remove-all-unused-imports --recursive --remove-unused-variables --in-place docs/src/ fastapi tests --exclude=__init__.py |
mypy fastapi --disallow-untyped-defs --follow-imports=skip |
||||
black fastapi tests docs/src |
black fastapi tests --check |
||||
isort --multi-line=3 --trailing-comma --force-grid-wrap=0 --combine-as --line-width 88 --recursive --thirdparty fastapi --apply fastapi tests docs/src |
isort --multi-line=3 --trailing-comma --force-grid-wrap=0 --combine-as --line-width 88 --recursive --check-only --thirdparty fastapi fastapi tests |
||||
|
Loading…
Reference in new issue