4afd9bed3a
- Found more bugs - Added more TODOs - Added more functionality to `do` - Fixed README - Bump version - Implement drafts - Escape sequences in messages are now supported
22 lines
638 B
Bash
Executable file
22 lines
638 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -ex
|
|
|
|
echo Checking and formatting with black...
|
|
black --check .
|
|
|
|
echo Python type checking...
|
|
mypy arigram --warn-redundant-casts --warn-unused-ignores \
|
|
--no-warn-no-return --warn-unreachable --strict-equality \
|
|
--ignore-missing-imports --warn-unused-configs \
|
|
--disallow-untyped-calls --disallow-untyped-defs \
|
|
--disallow-incomplete-defs --check-untyped-defs \
|
|
--disallow-untyped-decorators --pretty --show-traceback \
|
|
--no-warn-unused-ignores --follow-imports=error --namespace-packages
|
|
|
|
echo Checking import sorting...
|
|
isort -c arigram/*.py
|
|
|
|
echo Checking unused imports...
|
|
flake8 --select=F401
|