Skip to content

Commit

Permalink
Update Dependencies
Browse files Browse the repository at this point in the history
- Atualiza dependências
- Fix Typo (#227)

This closes #204, #227
  • Loading branch information
tiagocordeiro committed Aug 3, 2023
1 parent 501f0c4 commit f87d7db
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions pybling/notas.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
BLING_SECRET_KEY = os.getenv("BLING_API_KEY")


def list_notas(periodo, situcacao, tipo="S", page=1):
def list_notas(periodo, situacao, tipo="S", page=1):
"""
Função que retorna todas as notas fiscais
:param periodo: ('01/01/2018','31/12/2018')
:param situcacao: 6
:param situacao: 6
:param tipo: 'S' # 'S' Saída / 'E' Entrada
:param page: 'all' # Ou 1
:return: Retorna as notas filtradas por período e situação e tipo
Expand All @@ -26,7 +26,7 @@ def list_notas(periodo, situcacao, tipo="S", page=1):
payload = {
"apikey": BLING_SECRET_KEY,
"filters": f"dataEmissao[{periodo[0]} TO {periodo[1]}]; \
situacao[{situcacao}]; \
situacao[{situacao}]; \
tipo[{tipo}]",
}

Expand Down
10 changes: 5 additions & 5 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Pytest
pytest==5.3.5
pytest==7.4.0

# Lint
flake8==3.7.9
pycodestyle==2.5.0
flake8==6.1.0
pycodestyle==2.11.0

# Covarage
coverage==5.0.3
pytest-cov==2.8.1
coverage==7.2.7
pytest-cov==4.1.0

-r requirements.txt
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
requests==2.23.0
python-dotenv==0.11.0
requests==2.31.0
python-dotenv==1.0.0

0 comments on commit f87d7db

Please sign in to comment.