disable connector tests within github actions #23
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
name: lint_python | |
on: [pull_request, push] | |
jobs: | |
lint_python: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Use Node.js | |
uses: actions/setup-node@v2 | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
- run: pip install --upgrade pip setuptools | |
- run: pip install bandit black codespell flake8 isort mypy pytest pyupgrade safety | |
- run: bandit --recursive --skip B101 . # B101 is assert statements | |
- run: black --check . || true | |
- run: codespell --quiet-level=2 # --ignore-words-list="" --skip="" | |
- run: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | |
- run: isort --check-only --profile black . || true | |
- run: pip install -r requirements.txt || true | |
- run: pip install python-tds Sqlalchemy | |
- run: mypy --ignore-missing-imports . || true | |
# - run: pytest || true | |
# - run: pytest --doctest-modules || true | |
# - run: shopt -s globstar && pyupgrade --py36-plus **/*.py || true | |
# - run: safety check |