[infra] Lança exceção caso a query contenha algum campo inválido #3055
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: | |
jobs: | |
docker_lint: | |
name: Lint Python | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./python-package | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.9.x" | |
- name: Install requirements | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install -r requirements-dev.txt | |
- name: Lint python-package | |
uses: gabriel-milan/action-pylint@v1 | |
with: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
path: "python-package/basedosdados/" | |
fail: true | |
pr-message: true |