From 415226ad3faeaf21982464cf986566a149293cbe Mon Sep 17 00:00:00 2001 From: atiladalan Date: Mon, 20 Apr 2020 18:21:06 -0300 Subject: [PATCH 01/36] =?UTF-8?q?Add=20Informa=C3=A7=C3=A3o=20de=20teste?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/.gitignore | 2 ++ .idea/inspectionProfiles/profiles_settings.xml | 6 ++++++ .idea/libpythonpro.iml | 8 ++++++++ .idea/modules.xml | 8 ++++++++ .idea/vcs.xml | 6 ++++++ README.md | 4 +++- 6 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/inspectionProfiles/profiles_settings.xml create mode 100644 .idea/libpythonpro.iml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 000000000..e7e9d11d4 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,2 @@ +# Default ignored files +/workspace.xml diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 000000000..105ce2da2 --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/libpythonpro.iml b/.idea/libpythonpro.iml new file mode 100644 index 000000000..d0876a78d --- /dev/null +++ b/.idea/libpythonpro.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 000000000..3478ad2cf --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 000000000..94a25f7f4 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/README.md b/README.md index 980f7db5c..7125a8fce 100644 --- a/README.md +++ b/README.md @@ -27,4 +27,6 @@ flake8 Tópicos a serem abordados: 1. Git 2. Virtualenv - 3. Pip \ No newline at end of file + 3. Pip + + \ No newline at end of file From d84f6757f8cfc48cd7e84fbfb487b8880c99eb09 Mon Sep 17 00:00:00 2001 From: atiladalan Date: Sun, 24 May 2020 00:24:06 -0300 Subject: [PATCH 02/36] =?UTF-8?q?Refeito=20algumas=20altera=C3=A7=C3=B5es?= =?UTF-8?q?=20nos=20arquivos=20para=20deixar=20todos=20exetuaveis.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .flake8 | 2 +- .idea/libpythonpro.iml | 6 ++++-- README.md | 3 ++- requirements-dev.txt | 2 +- requirements.txt | 3 ++- 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.flake8 b/.flake8 index 796971547..ec4787eae 100644 --- a/.flake8 +++ b/.flake8 @@ -1,3 +1,3 @@ [flake8] max-line-length = 120 -exclude=.venv \ No newline at end of file +exclude=.venv,.git,__pycache__,docs/source/conf.py,old,build,dist \ No newline at end of file diff --git a/.idea/libpythonpro.iml b/.idea/libpythonpro.iml index d0876a78d..56d61a742 100644 --- a/.idea/libpythonpro.iml +++ b/.idea/libpythonpro.iml @@ -1,8 +1,10 @@ - - + + + + \ No newline at end of file diff --git a/README.md b/README.md index 7125a8fce..d4d8c6e4d 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,8 @@ Para instalar: ```console python3 -m venv .venv -source .venv/bin/activate +source .venv/bin/activate #para plataforma linux +.venv\Scripts\activate #para plataforma Windows pip install -r requirements-dev.txt ``` diff --git a/requirements-dev.txt b/requirements-dev.txt index a9fca4b76..350b15b1c 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,4 +1,4 @@ -flake8==3.5.0 +flake8>=3.5.0 mccabe==0.6.1 pycodestyle==2.3.1 pyflakes==1.6.0 diff --git a/requirements.txt b/requirements.txt index 86431e80a..a04e20a7f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,6 @@ certifi==2018.4.16 chardet==3.0.4 -idna==2.6 +idna==2.5 requests==2.18.3 urllib3==1.22 +wheel>=0.8 \ No newline at end of file From fd8a76df80c0673e27264b04aac10f546c93470a Mon Sep 17 00:00:00 2001 From: atiladalan Date: Sun, 24 May 2020 00:49:21 -0300 Subject: [PATCH 03/36] Configurado Travis CI close #1 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d4d8c6e4d..f6c50d6b0 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Nesse curso é ensinado como contribuir com projetos de código aberto Link para o curso [Python Pro](https://www.python.pro.br/) -[![Build Status](https://travis-ci.org/pythonprobr/libpythonpro.svg?branch=master)](https://travis-ci.org/pythonprobr/libpythonpro) +[![Build Status](https://travis-ci.org/atiladalan/libpythonpro.svg?branch=master)](https://travis-ci.org/atiladalan/libpythonpro) Suportada versão 3 de Python From cb2053880075a3ca2d2d79e6e98a4472e8f545e7 Mon Sep 17 00:00:00 2001 From: atiladalan Date: Sun, 24 May 2020 01:03:38 -0300 Subject: [PATCH 04/36] Configurado Travis CI close #1 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3a1469e52..b1a3e932c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: python python: - - 3.6 + - 3.0 install: - pip install -q -r requirements-dev.txt script: From 4435f3af4e1524d88f7013ebe0909fba39d2f189 Mon Sep 17 00:00:00 2001 From: atiladalan Date: Sun, 24 May 2020 01:05:00 -0300 Subject: [PATCH 05/36] Configurado Travis CI close #1 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b1a3e932c..32160871c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: python python: - - 3.0 + - 3.8 install: - pip install -q -r requirements-dev.txt script: From 056015adb05c36b1791cc6fc7431a7a94a9a65dd Mon Sep 17 00:00:00 2001 From: atiladalan Date: Sun, 24 May 2020 01:09:41 -0300 Subject: [PATCH 06/36] Configurado Travis CI close #1 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 32160871c..517018fc8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,6 @@ language: python python: - 3.8 install: - - pip install -q -r requirements-dev.txt + - pip install -r requirements-dev.txt script: - flake8 \ No newline at end of file From 1bc770ae30b5139823f817fbbabb6a4ccc76bf4f Mon Sep 17 00:00:00 2001 From: atiladalan Date: Sun, 24 May 2020 01:11:24 -0300 Subject: [PATCH 07/36] Configurado Travis CI close #1 --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 517018fc8..3a1469e52 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: python python: - - 3.8 + - 3.6 install: - - pip install -r requirements-dev.txt + - pip install -q -r requirements-dev.txt script: - flake8 \ No newline at end of file From 0ec5dfe5a80356c4d6848740960b6bc741baa416 Mon Sep 17 00:00:00 2001 From: atiladalan Date: Sun, 24 May 2020 01:14:04 -0300 Subject: [PATCH 08/36] Configurado Travis CI close #1 --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 350b15b1c..a9fca4b76 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,4 +1,4 @@ -flake8>=3.5.0 +flake8==3.5.0 mccabe==0.6.1 pycodestyle==2.3.1 pyflakes==1.6.0 From dbdb1d1fb0f53c86b6aa868d4f5a37691a215a51 Mon Sep 17 00:00:00 2001 From: atiladalan Date: Mon, 25 May 2020 15:07:13 -0300 Subject: [PATCH 09/36] Feito downgrade da biblioteca requests --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index a9fca4b76..f47b06a2b 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -2,4 +2,4 @@ flake8==3.5.0 mccabe==0.6.1 pycodestyle==2.3.1 pyflakes==1.6.0 --r requirements.txt \ No newline at end of file +-r requirements.txt From e6b684c6b61db9ddd09445a6851f7b7856fbb0d7 Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Mon, 25 May 2020 15:08:20 -0300 Subject: [PATCH 10/36] Update flake8 from 3.5.0 to 3.8.2 --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index f47b06a2b..6f2bd3cd1 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,4 +1,4 @@ -flake8==3.5.0 +flake8==3.8.2 mccabe==0.6.1 pycodestyle==2.3.1 pyflakes==1.6.0 From b28769b698458ea2b26f8ff7b53f9e74c021d7a1 Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Mon, 25 May 2020 15:08:21 -0300 Subject: [PATCH 11/36] Update pycodestyle from 2.3.1 to 2.6.0 --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 6f2bd3cd1..5b0f286cc 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,5 +1,5 @@ flake8==3.8.2 mccabe==0.6.1 -pycodestyle==2.3.1 +pycodestyle==2.6.0 pyflakes==1.6.0 -r requirements.txt From 6bdce5603a39e1e6cde4222ed7d618153f528470 Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Mon, 25 May 2020 15:08:22 -0300 Subject: [PATCH 12/36] Update pyflakes from 1.6.0 to 2.2.0 --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 5b0f286cc..a41960bf2 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,5 +1,5 @@ flake8==3.8.2 mccabe==0.6.1 pycodestyle==2.6.0 -pyflakes==1.6.0 +pyflakes==2.2.0 -r requirements.txt From 7dd6b78e8ada96a0cc1d288ca7b76d2d92db4bc4 Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Mon, 25 May 2020 15:08:23 -0300 Subject: [PATCH 13/36] Update certifi from 2018.4.16 to 2020.4.5.1 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index a04e20a7f..f0d824928 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -certifi==2018.4.16 +certifi==2020.4.5.1 chardet==3.0.4 idna==2.5 requests==2.18.3 From a413a64dfb843d074353805ed27eb93f3d537965 Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Mon, 25 May 2020 15:08:25 -0300 Subject: [PATCH 14/36] Update idna from 2.5 to 2.9 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index f0d824928..f9727af86 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ certifi==2020.4.5.1 chardet==3.0.4 -idna==2.5 +idna==2.9 requests==2.18.3 urllib3==1.22 wheel>=0.8 \ No newline at end of file From 766faec50f23054b0a3f5572f01d0415d15f1f5b Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Mon, 25 May 2020 15:08:26 -0300 Subject: [PATCH 15/36] Update requests from 2.18.3 to 2.23.0 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index f9727af86..4202d1141 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ certifi==2020.4.5.1 chardet==3.0.4 idna==2.9 -requests==2.18.3 +requests==2.23.0 urllib3==1.22 wheel>=0.8 \ No newline at end of file From 03a8e52d954cfe52bfb584445a93ed47730bcea8 Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Mon, 25 May 2020 15:08:27 -0300 Subject: [PATCH 16/36] Update urllib3 from 1.22 to 1.25.9 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 4202d1141..a0f1a93d7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,5 +2,5 @@ certifi==2020.4.5.1 chardet==3.0.4 idna==2.9 requests==2.23.0 -urllib3==1.22 +urllib3==1.25.9 wheel>=0.8 \ No newline at end of file From 896e378ad4c3040b72e80065e28557697d5fd5a8 Mon Sep 17 00:00:00 2001 From: atiladalan Date: Mon, 25 May 2020 15:12:54 -0300 Subject: [PATCH 17/36] Integrado com p PyUp --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index f6c50d6b0..2de7de6fb 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,9 @@ Nesse curso é ensinado como contribuir com projetos de código aberto Link para o curso [Python Pro](https://www.python.pro.br/) [![Build Status](https://travis-ci.org/atiladalan/libpythonpro.svg?branch=master)](https://travis-ci.org/atiladalan/libpythonpro) +[![Updates](https://pyup.io/repos/github/atiladalan/libpythonpro/shield.svg)](https://pyup.io/repos/github/atiladalan/libpythonpro/) +[![Python 3](https://pyup.io/repos/github/atiladalan/libpythonpro/python-3-shield.svg)](https://pyup.io/repos/github/atiladalan/libpythonpro/) + Suportada versão 3 de Python From 8b67ba1ae0726570b8af5d2048fbbe02fd3c9888 Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Mon, 25 May 2020 15:08:20 -0300 Subject: [PATCH 18/36] Update flake8 from 3.5.0 to 3.8.2 --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index f47b06a2b..6f2bd3cd1 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,4 +1,4 @@ -flake8==3.5.0 +flake8==3.8.2 mccabe==0.6.1 pycodestyle==2.3.1 pyflakes==1.6.0 From 1263d7603d6c44a3b1042e710d2626a81c9dd764 Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Mon, 25 May 2020 15:08:21 -0300 Subject: [PATCH 19/36] Update pycodestyle from 2.3.1 to 2.6.0 --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 6f2bd3cd1..5b0f286cc 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,5 +1,5 @@ flake8==3.8.2 mccabe==0.6.1 -pycodestyle==2.3.1 +pycodestyle==2.6.0 pyflakes==1.6.0 -r requirements.txt From adbe0fadf3edbe74677daabc9740aa40dd0e0c46 Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Mon, 25 May 2020 15:08:22 -0300 Subject: [PATCH 20/36] Update pyflakes from 1.6.0 to 2.2.0 --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 5b0f286cc..a41960bf2 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,5 +1,5 @@ flake8==3.8.2 mccabe==0.6.1 pycodestyle==2.6.0 -pyflakes==1.6.0 +pyflakes==2.2.0 -r requirements.txt From a940dcbc9b25ceed20ab9d69b54410676c239959 Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Mon, 25 May 2020 15:08:23 -0300 Subject: [PATCH 21/36] Update certifi from 2018.4.16 to 2020.4.5.1 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index a04e20a7f..f0d824928 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -certifi==2018.4.16 +certifi==2020.4.5.1 chardet==3.0.4 idna==2.5 requests==2.18.3 From 02a1177ea32810d8d423619f799fd290e7b157ba Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Mon, 25 May 2020 15:08:25 -0300 Subject: [PATCH 22/36] Update idna from 2.5 to 2.9 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index f0d824928..f9727af86 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ certifi==2020.4.5.1 chardet==3.0.4 -idna==2.5 +idna==2.9 requests==2.18.3 urllib3==1.22 wheel>=0.8 \ No newline at end of file From bfda19f8e84cc2f1853c799b4ad2aa6b3f875f6e Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Mon, 25 May 2020 15:08:26 -0300 Subject: [PATCH 23/36] Update requests from 2.18.3 to 2.23.0 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index f9727af86..4202d1141 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ certifi==2020.4.5.1 chardet==3.0.4 idna==2.9 -requests==2.18.3 +requests==2.23.0 urllib3==1.22 wheel>=0.8 \ No newline at end of file From 9544df87f22a258224ef5c9115117c5c2dbb89bb Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Mon, 25 May 2020 15:08:27 -0300 Subject: [PATCH 24/36] Update urllib3 from 1.22 to 1.25.9 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 4202d1141..a0f1a93d7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,5 +2,5 @@ certifi==2020.4.5.1 chardet==3.0.4 idna==2.9 requests==2.23.0 -urllib3==1.22 +urllib3==1.25.9 wheel>=0.8 \ No newline at end of file From ff571f2063568a4b63cbc2e1866c4213403fd6de Mon Sep 17 00:00:00 2001 From: atiladalan Date: Mon, 25 May 2020 16:22:57 -0300 Subject: [PATCH 25/36] =?UTF-8?q?Refeito=20altera=C3=A7=C3=B5es=20por=20mo?= =?UTF-8?q?tivos=20de=20incompatibilidade=20de=20vers=C3=B5es.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .flake8 | 2 +- requirements-dev.txt | 6 +++--- requirements.txt | 9 ++++----- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.flake8 b/.flake8 index ec4787eae..a3988db0a 100644 --- a/.flake8 +++ b/.flake8 @@ -1,3 +1,3 @@ [flake8] max-line-length = 120 -exclude=.venv,.git,__pycache__,docs/source/conf.py,old,build,dist \ No newline at end of file +exclude=.venv,*venv,.git,__pycache__,docs/source/conf.py,old,build,dist \ No newline at end of file diff --git a/requirements-dev.txt b/requirements-dev.txt index a41960bf2..f47b06a2b 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,5 +1,5 @@ -flake8==3.8.2 +flake8==3.5.0 mccabe==0.6.1 -pycodestyle==2.6.0 -pyflakes==2.2.0 +pycodestyle==2.3.1 +pyflakes==1.6.0 -r requirements.txt diff --git a/requirements.txt b/requirements.txt index a0f1a93d7..893aad27b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,5 @@ -certifi==2020.4.5.1 +certifi==2018.4.16 chardet==3.0.4 -idna==2.9 -requests==2.23.0 -urllib3==1.25.9 -wheel>=0.8 \ No newline at end of file +idna==2.6 +requests==2.18.3 +urllib3==1.22 \ No newline at end of file From 7701bb5633239bac80f9747d2b16b21de0387702 Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Mon, 25 May 2020 16:32:41 -0300 Subject: [PATCH 26/36] create pyup.io config file --- .pyup.yml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .pyup.yml diff --git a/.pyup.yml b/.pyup.yml new file mode 100644 index 000000000..30182e6bb --- /dev/null +++ b/.pyup.yml @@ -0,0 +1,4 @@ +# autogenerated pyup.io config file +# see https://pyup.io/docs/configuration/ for all available options + +schedule: every month From 9f01c0c9cc94111626b81462832d009607163140 Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Mon, 25 May 2020 16:32:47 -0300 Subject: [PATCH 27/36] Update certifi from 2018.4.16 to 2020.4.5.1 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 893aad27b..1fbf17b0c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -certifi==2018.4.16 +certifi==2020.4.5.1 chardet==3.0.4 idna==2.6 requests==2.18.3 From 9fe11218667a3311557913c483b3199363e5af3a Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Mon, 25 May 2020 16:32:48 -0300 Subject: [PATCH 28/36] Update idna from 2.6 to 2.9 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 1fbf17b0c..d73ea1296 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ certifi==2020.4.5.1 chardet==3.0.4 -idna==2.6 +idna==2.9 requests==2.18.3 urllib3==1.22 \ No newline at end of file From a06dc7e958caa9221c228edeafec9cf2b23295f6 Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Mon, 25 May 2020 16:32:49 -0300 Subject: [PATCH 29/36] Update requests from 2.18.3 to 2.23.0 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index d73ea1296..206a670ab 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ certifi==2020.4.5.1 chardet==3.0.4 idna==2.9 -requests==2.18.3 +requests==2.23.0 urllib3==1.22 \ No newline at end of file From fca1a8f5b068a25513a8e5223a4447b83891b0e2 Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Mon, 25 May 2020 16:32:50 -0300 Subject: [PATCH 30/36] Update urllib3 from 1.22 to 1.25.9 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 206a670ab..ceec2f8d8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,4 +2,4 @@ certifi==2020.4.5.1 chardet==3.0.4 idna==2.9 requests==2.23.0 -urllib3==1.22 \ No newline at end of file +urllib3==1.25.9 \ No newline at end of file From 7ce3f828f8eb77328f3350fbe614542eb76442bf Mon Sep 17 00:00:00 2001 From: atiladalan Date: Mon, 25 May 2020 16:36:05 -0300 Subject: [PATCH 31/36] =?UTF-8?q?Refeito=20altera=C3=A7=C3=B5es=20por=20mo?= =?UTF-8?q?tivos=20de=20incompatibilidade=20de=20vers=C3=B5es.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index a41960bf2..159ace2f3 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -2,4 +2,4 @@ flake8==3.8.2 mccabe==0.6.1 pycodestyle==2.6.0 pyflakes==2.2.0 --r requirements.txt +-r requirements.txt \ No newline at end of file From 376c2128edf66b3f584213b5cc723ef604975491 Mon Sep 17 00:00:00 2001 From: atiladalan Date: Mon, 25 May 2020 22:42:10 -0300 Subject: [PATCH 32/36] Alterado arquivo --- libpythonpro/github_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpythonpro/github_api.py b/libpythonpro/github_api.py index 7d29e4e68..5c838fd0a 100644 --- a/libpythonpro/github_api.py +++ b/libpythonpro/github_api.py @@ -5,7 +5,7 @@ def buscar_avatar(usuario): """ Busca o avatar de um usuário no Github - :param usuario: str com o nome de usuário no github + :param usuário: str com o nome de usuário no github :return: str com o link do avatar """ url = f'https://api.github.com/users/{usuario}' From e95e9ef7b3d027dc57e07d6c3becb9146a2fae07 Mon Sep 17 00:00:00 2001 From: atiladalan Date: Tue, 26 May 2020 10:33:56 -0300 Subject: [PATCH 33/36] Instalado Pytest e suas dependencias --- requirements-dev.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/requirements-dev.txt b/requirements-dev.txt index 159ace2f3..2e281c79a 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -2,4 +2,12 @@ flake8==3.8.2 mccabe==0.6.1 pycodestyle==2.6.0 pyflakes==2.2.0 + +# Deps do pytest +py==1.5.3 +more-itertools==4.1.0 +six==1.11.0 +attrs==18.1.0 +pluggy==0.6.0 +pytest==3.5.1 -r requirements.txt \ No newline at end of file From b8f3efb2473f82542643caadb37611afd441cd0f Mon Sep 17 00:00:00 2001 From: atiladalan Date: Tue, 26 May 2020 11:07:21 -0300 Subject: [PATCH 34/36] Inserido teste com o pytest close #4 --- .idea/libpythonpro.iml | 3 +++ .travis.yml | 3 ++- libpythonpro/tests/__init__.py | 0 libpythonpro/tests/test_exemplo.py | 3 +++ 4 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 libpythonpro/tests/__init__.py create mode 100644 libpythonpro/tests/test_exemplo.py diff --git a/.idea/libpythonpro.iml b/.idea/libpythonpro.iml index 56d61a742..34579634b 100644 --- a/.idea/libpythonpro.iml +++ b/.idea/libpythonpro.iml @@ -7,4 +7,7 @@ + + \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 3a1469e52..1d9431375 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,4 +4,5 @@ python: install: - pip install -q -r requirements-dev.txt script: - - flake8 \ No newline at end of file + - flake8 + - pytest libpythonpro \ No newline at end of file diff --git a/libpythonpro/tests/__init__.py b/libpythonpro/tests/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/libpythonpro/tests/test_exemplo.py b/libpythonpro/tests/test_exemplo.py new file mode 100644 index 000000000..97036cfde --- /dev/null +++ b/libpythonpro/tests/test_exemplo.py @@ -0,0 +1,3 @@ +def test_int(): + assert 1==0 + \ No newline at end of file From 019054c8d4b70debe20c3d4118296901a683640b Mon Sep 17 00:00:00 2001 From: atiladalan Date: Tue, 26 May 2020 11:09:15 -0300 Subject: [PATCH 35/36] Inserido teste com o pytest close #4 --- .pytest_cache/v/cache/lastfailed | 3 +++ .pytest_cache/v/cache/nodeids | 3 +++ libpythonpro/tests/.pytest_cache/v/cache/lastfailed | 3 +++ libpythonpro/tests/.pytest_cache/v/cache/nodeids | 3 +++ 4 files changed, 12 insertions(+) create mode 100644 .pytest_cache/v/cache/lastfailed create mode 100644 .pytest_cache/v/cache/nodeids create mode 100644 libpythonpro/tests/.pytest_cache/v/cache/lastfailed create mode 100644 libpythonpro/tests/.pytest_cache/v/cache/nodeids diff --git a/.pytest_cache/v/cache/lastfailed b/.pytest_cache/v/cache/lastfailed new file mode 100644 index 000000000..a535af85f --- /dev/null +++ b/.pytest_cache/v/cache/lastfailed @@ -0,0 +1,3 @@ +{ + "libpythonpro/tests/test_exemplo.py::test_int": true +} \ No newline at end of file diff --git a/.pytest_cache/v/cache/nodeids b/.pytest_cache/v/cache/nodeids new file mode 100644 index 000000000..407bbbdc0 --- /dev/null +++ b/.pytest_cache/v/cache/nodeids @@ -0,0 +1,3 @@ +[ + "libpythonpro/tests/test_exemplo.py::test_int" +] \ No newline at end of file diff --git a/libpythonpro/tests/.pytest_cache/v/cache/lastfailed b/libpythonpro/tests/.pytest_cache/v/cache/lastfailed new file mode 100644 index 000000000..8fe8ea6e6 --- /dev/null +++ b/libpythonpro/tests/.pytest_cache/v/cache/lastfailed @@ -0,0 +1,3 @@ +{ + "test_exemplo.py::test_int": true +} \ No newline at end of file diff --git a/libpythonpro/tests/.pytest_cache/v/cache/nodeids b/libpythonpro/tests/.pytest_cache/v/cache/nodeids new file mode 100644 index 000000000..dc0924405 --- /dev/null +++ b/libpythonpro/tests/.pytest_cache/v/cache/nodeids @@ -0,0 +1,3 @@ +[ + "test_exemplo.py::test_int" +] \ No newline at end of file From e4043879efc9842c313e2010db596cd417700339 Mon Sep 17 00:00:00 2001 From: atiladalan Date: Tue, 26 May 2020 11:12:26 -0300 Subject: [PATCH 36/36] Inserido teste com o pytest close #4 --- libpythonpro/tests/.pytest_cache/v/cache/lastfailed | 4 +--- libpythonpro/tests/test_exemplo.py | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/libpythonpro/tests/.pytest_cache/v/cache/lastfailed b/libpythonpro/tests/.pytest_cache/v/cache/lastfailed index 8fe8ea6e6..9e26dfeeb 100644 --- a/libpythonpro/tests/.pytest_cache/v/cache/lastfailed +++ b/libpythonpro/tests/.pytest_cache/v/cache/lastfailed @@ -1,3 +1 @@ -{ - "test_exemplo.py::test_int": true -} \ No newline at end of file +{} \ No newline at end of file diff --git a/libpythonpro/tests/test_exemplo.py b/libpythonpro/tests/test_exemplo.py index 97036cfde..78cd50236 100644 --- a/libpythonpro/tests/test_exemplo.py +++ b/libpythonpro/tests/test_exemplo.py @@ -1,3 +1,2 @@ def test_int(): - assert 1==0 - \ No newline at end of file + assert 1 == 1