Cria função ibge.convert_text_to_uf que recebe um nome de estado e retorna sua UF. #800
Workflow file for this run
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: Check Lint | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
lint: | |
name: Check Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Poetry Setup | |
uses: snok/install-poetry@v1 | |
- name: Install Dependencies | |
run: poetry install | |
- name: Run Lint Check | |
id: lint | |
run: | | |
make check | |
continue-on-error: true | |
- name: Lint Failed | |
if: steps.lint.outcome != 'success' | |
run: | | |
echo -e "\033[0;31m Please, run \`make format\` and push the changes to fix this error" | |
exit 1 |