-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Staging/detran #334
Merged
Merged
Staging/detran #334
Changes from 250 commits
Commits
Show all changes
287 commits
Select commit
Hold shift + click to select a range
48fc127
Add packages (Polars and Excel readers)
tamireinhorn b7b2db4
Create utility functions for processing files
tamireinhorn 47c6c97
Notebook to demonstrate data cleaning
tamireinhorn a854ccd
Cleaning works for uf tipo
tamireinhorn f74c3e0
Start file for UF Tipo treatment
tamireinhorn 42b07d6
Better handling of directory changes
tamireinhorn 155d75a
Reorganize testing into two distinct types
tamireinhorn 66afce1
More test rearranging
tamireinhorn 5aab93c
Revert bugged discovery
tamireinhorn 427ae97
Revert "Revert bugged discovery"
tamireinhorn 73c8cad
Discovery works
tamireinhorn 6df4a89
Pre commit enforcing py 3.9
tamireinhorn 1d43c57
Add function to verify denatran total
tamireinhorn 30ca4cd
Wide to long now checks and removes total
tamireinhorn 830ad07
Adds packages for manage.py to work
tamireinhorn 7e6303d
Create pipeline folder structure
tamireinhorn 7779e0a
Just for stashing
tamireinhorn bdcfe48
Create constants file
tamireinhorn 44e39b4
Add more utility functions
tamireinhorn 031d4de
Migrate code to proper folder
tamireinhorn 635c61f
More constants
tamireinhorn 8e089a7
Rename substituions ruleset
tamireinhorn 2fe17fe
Cleanup
tamireinhorn a25ce63
Cleanup crew
tamireinhorn 2516646
More migration of code
tamireinhorn 60bdf9b
Small refactoring
tamireinhorn 0a07c40
More reorganizing
tamireinhorn 2ae6fa5
Docstrings for all utils
tamireinhorn 15cec37
Fix documentation in utils
tamireinhorn 0ff97de
Apply better fuzzy matching for strings
tamireinhorn 30f19d2
Add package to speed up string comparisons
tamireinhorn 0bc7fd6
Maybe difflib was better
tamireinhorn 882e8be
All rules done afaik
tamireinhorn a55714e
Actual decent file to be tested
tamireinhorn 35d3ebc
Imports cleanup
tamireinhorn ba51ac5
Added guard
tamireinhorn da00c6d
Clean up
tamireinhorn baceabc
Reorganizing
tamireinhorn 293364b
Testing more stuff
tamireinhorn dda7427
Coverage back
tamireinhorn 19d276f
Increasing coverage and cleanup of guess header
tamireinhorn 9faed06
Reduce exposure
tamireinhorn 514f156
More testing
tamireinhorn 02cd15a
Erroring when appropriate for municipio_tipo
tamireinhorn 5fb737f
This is useless
tamireinhorn 4d2f644
Directories are again working!!!!
tamireinhorn 5896ac9
All constants
tamireinhorn 49e668d
Merge branch 'master' into tamir_br_denatran_frota
tamireinhorn a42845c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 70d7d64
Add utils function to correct folder
tamireinhorn 5fd8a79
Redo lock file
tamireinhorn 26fe595
Relocate test and all works
tamireinhorn f56900a
Correct importing
tamireinhorn 2624e48
Fix import yet again
tamireinhorn 1283baf
Add todo list for myself and ignore it.
tamireinhorn 4a37eea
First task
tamireinhorn 2be72b0
Extra arguments for task
tamireinhorn 0e62488
Dirty test clean up + flow start
tamireinhorn 0e495bc
Tests are the bomb
tamireinhorn 7d0ff67
Clean up task tests
tamireinhorn f69fadb
Works as is
tamireinhorn f493824
Better encapsulation, all tests pass
tamireinhorn e6a7c00
flows goes
tamireinhorn 2e986b8
Changes in header guess uses other flow for test
tamireinhorn f0a3a68
Adjustment in tests after adjusting function
tamireinhorn 6fb1556
Cleaner task test
tamireinhorn f6e1f8c
Constant for the CSVs
tamireinhorn 87aa026
Debugging via workaround
tamireinhorn d2a5eec
Adjustment still makes tests pass
tamireinhorn 63b9998
No test side effects
tamireinhorn 9b3665b
RAR files work now
tamireinhorn e3032f6
Awesome trick for reusing code for zip and rar
tamireinhorn d3d9599
No need for specific zip function anymore
tamireinhorn d88e64e
Treat 2013 exception
tamireinhorn 0c9aba7
Merge branch 'master' into tamir_br_denatran_frota
tamireinhorn 0d8cea2
Modifications to deal with pre 2013 data
tamireinhorn 20cc2b1
Pre-2013: crude but getting there
tamireinhorn 653fcf4
2012 extraction works!
tamireinhorn ab1f39c
2011 also works now
tamireinhorn c474f0c
Fixing toml, lock + adding code2flow
tamireinhorn aa22448
Refactoring for cleaner 2010-2012 code
tamireinhorn 3644bb0
Better encapsulation
tamireinhorn b7d1c09
Trying to solve 2009 and down
tamireinhorn f5bb766
Adhoc treatment for pre 2010
tamireinhorn 4800468
Almost there
tamireinhorn b011ce1
Works from 2005 onwards
tamireinhorn ac0117c
2005 is the best I have so far
tamireinhorn 80cb580
And now we also have 2004
tamireinhorn af18092
Almost 2003
tamireinhorn 2d9fbf7
Almost 2003
tamireinhorn 8ac4dcf
2003 extraction works
tamireinhorn e09bca8
Extraction task is fully functional
tamireinhorn 8c50f07
Rename task for consistency
tamireinhorn ea8d254
Begin testing of UF tipo treatment
tamireinhorn cbed880
Treatment for UF tipo works up for 2009->
tamireinhorn 93c1370
I have become Death, the destroyer of Worlds.
tamireinhorn 8dd26b9
I'm going to hell
tamireinhorn bb4f0be
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] e2ec859
Trying to unleash R inside Python
tamireinhorn 8fd4b2a
Treatment working except 2003-2004
tamireinhorn a3c37fa
Adjust parameter for old data
tamireinhorn 4b9b74b
uf tipo is done
tamireinhorn 2d0f30a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 3a8e207
Add task for outputing file to CSV
tamireinhorn c4e6a74
Small error
tamireinhorn d65706d
WIP for treating municipality data
tamireinhorn a5fc92d
Add export task
tamireinhorn 11d9f04
Change constants to keep things standard
tamireinhorn 242933e
Add task for getting the extracted file
tamireinhorn 048e5e5
Create first flow
tamireinhorn f949e0c
Ignore my local run file
tamireinhorn ef75009
The flow should work but...
tamireinhorn 98c6217
yeah the flow still sucks i'm stupid
tamireinhorn faeda9f
The first flow gets to Google Cloud
tamireinhorn 39300de
Type hints in handlers.py
tamireinhorn 9fd4102
Add type hints to task
tamireinhorn d3bd53a
Cleanup
tamireinhorn fa1e04b
Guess header refactor
tamireinhorn c65d804
Fixed function call
tamireinhorn ae14b15
Create function for UF Tipo and handler
tamireinhorn a7c9ae9
Adds docstring checker for linting
tamireinhorn bb8c9ab
General cleanup
tamireinhorn c45d045
Documentations in progress
tamireinhorn 9baf530
More cleanup
tamireinhorn 570ce51
Using enums + cleanup
tamireinhorn 4fea4ed
2023 works for treating municipality
tamireinhorn 325398f
Working from 2016 onwards
tamireinhorn ed3343a
Working from 2014 onwards
tamireinhorn 2990dd8
2010 has a total error?
tamireinhorn 038bdca
Historical data is messy, adjust util for that
tamireinhorn 1704472
More substitutions rules for a lot of messy data
tamireinhorn e45fec7
Adjustments for historical data
tamireinhorn 5b9642b
Treatment works!!!!
tamireinhorn cbe964d
Flow is done
tamireinhorn ba325bd
Fix small error in quadriciclo data
tamireinhorn d339e79
Ignore credentials
tamireinhorn b908671
Merge branch 'master' into tamir_br_denatran_frota
mergify[bot] dff5dc7
Merge pull request #310 from tamireinhorn/tamir_br_denatran_frota
lucascr91 bcb1502
Merge branch 'master' into staging/detran
lucascr91 a3fcb06
Ajusta flow
tamireinhorn 450868c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 23deaf2
Commit salvador
tamireinhorn 9a3d2de
Sobe config certa pra ler da BD
tamireinhorn 9262ee9
Reallocate logs
tamireinhorn da3c660
Novo teste
tamireinhorn f14f975
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 8b9638c
Tenta mapping pra um flow
tamireinhorn 0836c77
Sobrescrever a tabela (deve dar erro)
tamireinhorn 6fc2193
Faltou map
tamireinhorn ef71443
register flow
folhesgabriel 90bff91
test: access datasus ftp using prefect
folhesgabriel 6fc2241
re register flow
folhesgabriel c3ed460
Merge branch 'master' into staging/detran
folhesgabriel eaeacfe
re register
folhesgabriel 0e96d9d
Sei lá
tamireinhorn 9922962
uh
tamireinhorn 6e38a4f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 944d931
Teste pra task nova
tamireinhorn e5f50b9
Modifica flow de acodo
tamireinhorn 99617f9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 04c85cc
Merge branch 'staging/detran' of https://github.com/basedosdados/pipe…
tamireinhorn 15e34a7
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] e1780b3
Error handling
tamireinhorn 4f5368b
Merge branch 'staging/detran' of https://github.com/basedosdados/pipe…
tamireinhorn 38428ab
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] a67db8a
Tenta usar ano e mes de prod
tamireinhorn 2e5aadd
Merge branch 'staging/detran' of https://github.com/basedosdados/pipe…
tamireinhorn a2ca388
Ops
tamireinhorn 68771ee
Merge branch 'staging/detran' of https://github.com/basedosdados/pipe…
tamireinhorn 0cf432c
ah ok
tamireinhorn 63b8e8f
logs
tamireinhorn b7ae3bd
mais simples
tamireinhorn 77cb983
Merge branch 'master' into staging/detran
tamireinhorn c165835
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 7a8e33c
Flows flows flows
tamireinhorn 99f1b6a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] f940d88
Adiciona particionamento
tamireinhorn c4296e3
Guard pra caso falhe o fetch de prod
tamireinhorn b975225
deploya pls
tamireinhorn 8abb9b4
Remove pasta desnecessária, deploya por favor
tamireinhorn b4a06d9
Merge branch 'master' into staging/detran
tamireinhorn 9ad3894
Correção no TOML pós merge
tamireinhorn 2f518d1
Regera o .lock
tamireinhorn 87b4f7e
Por algum motivo, faltou Polars
tamireinhorn b59e9f5
Merge remote-tracking branch 'origin/master' into staging/detran
tamireinhorn 5ae929f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 90b1cde
Flake8
tamireinhorn ab07da7
Adiciona pacotes faltantes da master
tamireinhorn 0f39d8b
Flake8 dnv
tamireinhorn 61cd61b
tirei lixo do gitignore
tamireinhorn 809a41b
Adiciona pacote faltante
tamireinhorn 3381dd1
Mais pacotes faltantes
tamireinhorn 99c4947
faltou
tamireinhorn bcf4acd
Isso agora funciona
tamireinhorn 7906b0f
xlrd
tamireinhorn 62187a0
Isso aqui era o erro
tamireinhorn 803ea5e
agr vai
tamireinhorn 6d255bc
Resolve problema 2
tamireinhorn d5dc7c9
kkkkkkkkkkkkkkkkk
tamireinhorn d3e2e50
schedule fix
tamireinhorn 981112f
Merge remote-tracking branch 'origin/master' into staging/detran
tamireinhorn 6323142
TODO MERGE ISSO
tamireinhorn db0dbea
.
tamireinhorn 7e97dc5
Pronto
tamireinhorn ddaee64
Isso era pra ser tao simples
tamireinhorn 42f0e52
Cara.
tamireinhorn 4d33dd2
Cara
tamireinhorn 104fb3b
converte na hr certa
tamireinhorn dafcdc8
Meu deus cara
tamireinhorn e101494
Eu só quero que isso não rode agora como parece
tamireinhorn 0cfa89a
Tem algo rodando automático e eu cansei
tamireinhorn af9bebc
Seguro morreu de velho
tamireinhorn 5bd07ec
Acho que isso segura
tamireinhorn 06561f3
OK
tamireinhorn b7f00ab
pronto
tamireinhorn 736722a
solucao
tamireinhorn 87ee563
Bugged data
tamireinhorn 8370496
Escaneia e resolve colunas multiplicadas por 10
tamireinhorn e411b8a
Pronto
tamireinhorn 57385dc
All is good
tamireinhorn 88af8e2
Merge remote-tracking branch 'origin/main' into staging/detran
tamireinhorn abb6614
Refaz o pre commit, que NÃO funciona aqui.
tamireinhorn f81b587
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 863fc05
Usa a task pra decidir
tamireinhorn 7d0bd15
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 136da7b
feat: add update_django_metadata task
folhesgabriel aec9ee8
feat: add new get_data task
folhesgabriel f5685b6
feat: update branch
folhesgabriel e682d24
Merge branch 'main' of https://github.com/basedosdados/pipelines into…
folhesgabriel ff57ade
fix: basedosdados read_sql input
folhesgabriel 4153283
fix: table_id name and handlers
folhesgabriel d7c29ed
feat: add schedules
folhesgabriel ac20eb5
feat: add final flows
folhesgabriel 9f01e14
Merge remote-tracking branch origin into staging/detran
folhesgabriel 3ea44a9
fix: crawler error to downloand october onwards files
folhesgabriel d0f6b58
feat: final modifications
folhesgabriel 19fe83f
feat: add logs and set df cols to str
folhesgabriel cae36a3
Merge branch 'main' into staging/detran
mergify[bot] b3474a5
feat: fix get_latest_data return
folhesgabriel c1e9fae
Merge branch 'staging/detran' of https://github.com/basedosdados/pipe…
folhesgabriel 93ec46e
Merge branch 'main' into staging/detran
mergify[bot] 658bf37
feat: delete backfill and add documentation
folhesgabriel 0c41c7d
feat: remove backfill parameters from flow
folhesgabriel 33803d8
Merge branch 'main' into staging/detran
mergify[bot] 869430c
feat: schedules
folhesgabriel 32a7f32
feat: add code owners
folhesgabriel 3da8ebe
Merge branch 'main' into staging/detran
mergify[bot] 5d3d793
fix: flow
folhesgabriel ea8d3c9
fix: lint code
folhesgabriel 16e1977
feat: remove unnused imports
folhesgabriel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -148,8 +148,12 @@ notebooks/ | |
/tests/ | ||
|
||
|
||
|
||
|
||
.DS_Store | ||
|
||
# Mac | ||
.DS_Store | ||
|
||
|
||
/DENATRAN_FILES |
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
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
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# -*- coding: utf-8 -*- | ||
from pipelines.datasets.br_denatran_frota.constants import constants | ||
from pipelines.datasets.br_denatran_frota.handlers import ( | ||
crawl, | ||
get_desired_file, | ||
output_file_to_csv, | ||
treat_uf_tipo, | ||
) | ||
|
||
# Fill for UF TIPO | ||
months = range(1, 13) | ||
years = range(2003, 2023) | ||
for year in years: | ||
for month in months: | ||
print(month) | ||
crawl(month=month, year=year, temp_dir="DENATRAN_FILES") | ||
file = get_desired_file( | ||
year=year, | ||
download_directory="DENATRAN_FILES", | ||
filetype=f"{constants.UF_TIPO_BASIC_FILENAME.value}_{month}", | ||
) | ||
if year == 2004 and month == 3: | ||
breakpoint() | ||
df = treat_uf_tipo(file=file) | ||
path = output_file_to_csv( | ||
df=df, filename=constants.UF_TIPO_BASIC_FILENAME.value | ||
) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,158 @@ | ||
# -*- coding: utf-8 -*- | ||
""" | ||
Constant values for the datasets projects | ||
""" | ||
|
||
from enum import Enum | ||
|
||
|
||
class constants(Enum): # pylint: disable=c0103 | ||
""" | ||
Constant values for the br_denatran_frota project | ||
""" | ||
|
||
MONTHS = { | ||
"janeiro": 1, | ||
"fevereiro": 2, | ||
"marco": 3, | ||
"abril": 4, | ||
"maio": 5, | ||
"junho": 6, | ||
"julho": 7, | ||
"agosto": 8, | ||
"setembro": 9, | ||
"outubro": 10, | ||
"novembro": 11, | ||
"dezembro": 12, | ||
# some months have capital letters deppending on the year | ||
"Janeiro": 1, | ||
"Fevereiro": 2, | ||
"Marco": 3, | ||
"Abril": 4, | ||
"Maio": 5, | ||
"Junho": 6, | ||
"Julho": 7, | ||
"Agosto": 8, | ||
"Setembro": 9, | ||
"Outubro": 10, | ||
"Novembro": 11, | ||
"Dezembro": 12, | ||
} | ||
|
||
DATASET = "br_denatran_frota" | ||
|
||
HEADERS = { | ||
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36" | ||
} | ||
|
||
DICT_UFS = { | ||
"AC": "Acre", | ||
"AL": "Alagoas", | ||
"AP": "Amapá", | ||
"AM": "Amazonas", | ||
"BA": "Bahia", | ||
"CE": "Ceará", | ||
"DF": "Distrito Federal", | ||
"ES": "Espírito Santo", | ||
"GO": "Goiás", | ||
"MA": "Maranhão", | ||
"MT": "Mato Grosso", | ||
"MS": "Mato Grosso do Sul", | ||
"MG": "Minas Gerais", | ||
"PA": "Pará", | ||
"PB": "Paraíba", | ||
"PR": "Paraná", | ||
"PE": "Pernambuco", | ||
"PI": "Piauí", | ||
"RJ": "Rio de Janeiro", | ||
"RN": "Rio Grande do Norte", | ||
"RS": "Rio Grande do Sul", | ||
"RO": "Rondônia", | ||
"RR": "Roraima", | ||
"SC": "Santa Catarina", | ||
"SP": "São Paulo", | ||
"SE": "Sergipe", | ||
"TO": "Tocantins", | ||
} | ||
|
||
SUBSTITUTIONS = { | ||
("RN", "assu"): "acu", | ||
("PB", "sao domingos de pombal"): "sao domingos", | ||
("PB", "santarem"): "joca claudino", | ||
("SP", "embu"): "embu das artes", | ||
("TO", "sao valerio da natividade"): "sao valerio", | ||
("PB", "campo de santana"): "tacima", | ||
("AP", "amapari"): "pedra branca do amapari", | ||
("BA", "maracani"): "macarani", | ||
("BA", "livramento do brumado"): "livramento de nossa senhora", | ||
("PB", "sao bento de pombal"): "sao bentinho", | ||
("PB", "serido"): "sao vicente do serido", | ||
("PR", "vila alta"): "alto paraiso", | ||
("RN", "espirito santo do oeste"): "parau", | ||
("RO", "jamari"): "itapua do oeste", | ||
("SC", "picarras"): "balneario picarras", | ||
("SC", "barra do sul"): "balneario barra do sul", | ||
} | ||
|
||
DOWNLOAD_PATH = f"/tmp/input/{DATASET}" | ||
|
||
OUTPUT_PATH = f"/tmp/output/{DATASET}" | ||
|
||
UF_TIPO_BASIC_FILENAME = "frota_por_uf_e_tipo_de_veiculo" | ||
|
||
MUNIC_TIPO_BASIC_FILENAME = "frota_por_municipio_e_tipo" | ||
|
||
MONTHS_SHORT = {month[:3]: number for month, number in MONTHS.items()} | ||
|
||
UF_TIPO_HEADER = [ | ||
"Grandes Regiões e\nUnidades da Federação", | ||
"TOTAL", | ||
"AUTOMÓVEL", | ||
"BONDE", | ||
"CAMINHÃO", | ||
"CAMINHÃO TRATOR", | ||
"CAMINHONETE", | ||
"CAMIONETA", | ||
"CHASSI PLATAFORMA", | ||
"CICLOMOTOR", | ||
"MICROÔNIBUS", | ||
"MOTOCICLETA", | ||
"MOTONETA", | ||
"ÔNIBUS", | ||
"QUADRICICLO", | ||
"REBOQUE", | ||
"SEMI-REBOQUE", | ||
"SIDE-CAR", | ||
"OUTROS", | ||
"TRATOR ESTEIRA", | ||
"TRATOR RODAS", | ||
"TRICICLO", | ||
"UTILITÁRIO", | ||
] | ||
|
||
MUNICIPIO_TIPO_HEADER = [ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Mesma coisa aqui... |
||
"UF", | ||
"MUNICIPIO", | ||
"TOTAL", | ||
"AUTOMÓVEL", | ||
"BONDE", | ||
"CAMINHÃO", | ||
"CAMINHÃO TRATOR", | ||
"CAMINHONETE", | ||
"CAMIONETA", | ||
"CHASSI PLATAFORMA", | ||
"CICLOMOTOR", | ||
"MICROÔNIBUS", | ||
"MOTOCICLETA", | ||
"MOTONETA", | ||
"ÔNIBUS", | ||
"QUADRICICLO", | ||
"REBOQUE", | ||
"SEMI-REBOQUE", | ||
"SIDE-CAR", | ||
"OUTROS", | ||
"TRATOR ESTEIRA", | ||
"TRATOR RODAS", | ||
"TRICICLO", | ||
"UTILITÁRIO", | ||
] |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Você não utiliza essa lista, apague.