From aff2813c5e1a58239d871da92eee07bea384c953 Mon Sep 17 00:00:00 2001 From: undersfx Date: Sat, 28 Sep 2019 23:27:12 -0300 Subject: [PATCH 1/9] =?UTF-8?q?Workaround=20para=20problema=20no=20parser?= =?UTF-8?q?=20da=20licen=C3=A7a?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 676c14d7f..e84158ce6 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Link para o curso [Python Pro](https://www.python.pro.br/) [![Python 3](https://pyup.io/repos/github/pythonprobr/libpythonpro/python-3-shield.svg)](https://pyup.io/repos/github/pythonprobr/libpythonpro/) [![codecov](https://codecov.io/gh/pythonprobr/libpythonpro/branch/master/graph/badge.svg)](https://codecov.io/gh/pythonprobr/libpythonpro) -Suportada versão 3 de Python +Suportada versão 3 de Python. Para instalar: diff --git a/setup.py b/setup.py index 874d5bcbe..1fea97a65 100644 --- a/setup.py +++ b/setup.py @@ -117,7 +117,7 @@ def find_package_data( long_description_content_type='text/markdown', author=AUTHOR, author_email=AUTHOR_EMAIL, - license=read('LICENSE'), + license="GNU AFFERO GENERAL PUBLIC LICENSE", url=URL, packages=find_packages(exclude=["tests.*", "tests"]), package_data=find_package_data(PACKAGE, only_in_packages=False), From 04e27d81d2d5448174556b37210401528b6790a1 Mon Sep 17 00:00:00 2001 From: Danieli Date: Wed, 22 Dec 2021 20:04:31 -0300 Subject: [PATCH 2/9] =?UTF-8?q?Acrescentado=20Suportar=20vers=C3=A3o=203?= =?UTF-8?q?=20de=20Python?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e84158ce6..676c14d7f 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Link para o curso [Python Pro](https://www.python.pro.br/) [![Python 3](https://pyup.io/repos/github/pythonprobr/libpythonpro/python-3-shield.svg)](https://pyup.io/repos/github/pythonprobr/libpythonpro/) [![codecov](https://codecov.io/gh/pythonprobr/libpythonpro/branch/master/graph/badge.svg)](https://codecov.io/gh/pythonprobr/libpythonpro) -Suportada versão 3 de Python. +Suportada versão 3 de Python Para instalar: From 7395642fbc27550561a9bc7bbe6bff58adb17d61 Mon Sep 17 00:00:00 2001 From: Danieli Date: Tue, 11 Jan 2022 15:55:59 -0300 Subject: [PATCH 3/9] =?UTF-8?q?Adicionado=20flake8=20como=20depend=C3=AAnc?= =?UTF-8?q?ia?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 676c14d7f..bf66b1c76 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,9 @@ Suportada versão 3 de Python Para instalar: ```console -pip install pipenv -pipenv install --dev +python3 -m venv .venv +source.venv/Scripts/activate +pip install -r requirements-dev.txt ``` Para conferir qualidade de código: From 9af521e1cff1ff7489423235f1c06ae3e3d84705 Mon Sep 17 00:00:00 2001 From: Danieli Date: Wed, 12 Jan 2022 16:42:46 -0300 Subject: [PATCH 4/9] =?UTF-8?q?Adicionado=20flake8=20como=20depend=C3=AAnc?= =?UTF-8?q?ia?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .travis.yml | 2 ++ libpythonpro/.flake8 | 0 requirements-dev.txt | 5 +++++ requirements.txt | 5 +++++ 4 files changed, 12 insertions(+) create mode 100644 libpythonpro/.flake8 create mode 100644 requirements-dev.txt create mode 100644 requirements.txt diff --git a/.travis.yml b/.travis.yml index 6694375b7..4505d4d55 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,9 @@ language: python python: - 3.7 + - 3.9 install: + - pip install -r requirements-dev.txt - pip install -q pipenv codecov - pipenv sync --dev script: diff --git a/libpythonpro/.flake8 b/libpythonpro/.flake8 new file mode 100644 index 000000000..e69de29bb diff --git a/requirements-dev.txt b/requirements-dev.txt new file mode 100644 index 000000000..9719cc062 --- /dev/null +++ b/requirements-dev.txt @@ -0,0 +1,5 @@ +flake8==4.0.1 +mccabe==0.6.1 +pycodestyle==2.8.0 +pyflakes==2.4.0 +-r requirements.txt \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 000000000..1a0bdf9b3 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,5 @@ +certifi==2021.10.8 +charset-normalizer==2.0.9 +idna==3.3 +requests==2.24.0 +urllib3==1.26.7 From d867a2d98782ca084e22a4cdfecef832cef714d6 Mon Sep 17 00:00:00 2001 From: Danieli Date: Wed, 12 Jan 2022 17:04:24 -0300 Subject: [PATCH 5/9] =?UTF-8?q?Adicionado=20flake8=20como=20depend=C3=AAnc?= =?UTF-8?q?ia?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pyup.yml | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pyup.yml b/.pyup.yml index 551ae40dd..98f83199d 100644 --- a/.pyup.yml +++ b/.pyup.yml @@ -1,3 +1,3 @@ requirements: - Pipfile - - Pipfile.lock \ No newline at end of file + - Pipfile.lock diff --git a/requirements.txt b/requirements.txt index 1a0bdf9b3..a913432e6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ certifi==2021.10.8 charset-normalizer==2.0.9 idna==3.3 -requests==2.24.0 +requests==2.26.0 urllib3==1.26.7 From f7d41c3acf4e1e835f7e366e87425a3baf7f4590 Mon Sep 17 00:00:00 2001 From: Danieli Date: Wed, 12 Jan 2022 17:26:02 -0300 Subject: [PATCH 6/9] =?UTF-8?q?Adicionada=20configura=C3=A7=C3=A3o=20do=20?= =?UTF-8?q?pyup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pyup.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.pyup.yml b/.pyup.yml index 98f83199d..a4a96bb89 100644 --- a/.pyup.yml +++ b/.pyup.yml @@ -1,3 +1,11 @@ -requirements: - - Pipfile - - Pipfile.lock +# autogenerated pyup.io config file + +schedule: '' +Update: all +Search: True +Pin: True +Default Branch: main +Branch pre-fix: pyup- +Close PRs: True +Label PRs: False +Update hashes: True From 7b49e4c74509ad210d4634c04bcd28320af83480 Mon Sep 17 00:00:00 2001 From: Danieli Date: Wed, 12 Jan 2022 17:28:31 -0300 Subject: [PATCH 7/9] =?UTF-8?q?Adicionada=20configura=C3=A7=C3=A3o=20do=20?= =?UTF-8?q?pyup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pyup.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pyup.yml b/.pyup.yml index a4a96bb89..38a869cbb 100644 --- a/.pyup.yml +++ b/.pyup.yml @@ -4,7 +4,7 @@ schedule: '' Update: all Search: True Pin: True -Default Branch: main +Default Branch: master Branch pre-fix: pyup- Close PRs: True Label PRs: False From 8b2ccca16b1cf442ba0eb49fd8e5a1fa84041e82 Mon Sep 17 00:00:00 2001 From: Danieli Date: Wed, 12 Jan 2022 18:01:43 -0300 Subject: [PATCH 8/9] Integrado com PyUp --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bf66b1c76..837524109 100644 --- a/README.md +++ b/README.md @@ -6,9 +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/pythonprobr/libpythonpro.svg?branch=master)](https://travis-ci.org/pythonprobr/libpythonpro) -[![Updates](https://pyup.io/repos/github/pythonprobr/libpythonpro/shield.svg)](https://pyup.io/repos/github/pythonprobr/libpythonpro/) -[![Python 3](https://pyup.io/repos/github/pythonprobr/libpythonpro/python-3-shield.svg)](https://pyup.io/repos/github/pythonprobr/libpythonpro/) +[![Build Status](https://travis-ci.org/pythonprobr/libpythonpro.svg?branch=master)](https://travis-ci.org/DanieliAbreu/libpythonpro) +[![Updates](https://pyup.io/repos/github/DanieliAbreu/libpythonpro/shield.svg)](https://pyup.io/repos/github/DanieliAbreu/libpythonpro/) +[![Python 3](https://pyup.io/repos/github/DanieliAbreu/libpythonpro/python-3-shield.svg)](https://pyup.io/repos/github/DanieliAbreu/libpythonpro/) [![codecov](https://codecov.io/gh/pythonprobr/libpythonpro/branch/master/graph/badge.svg)](https://codecov.io/gh/pythonprobr/libpythonpro) Suportada versão 3 de Python From 7c7fa42e3bf0afaf42b945b1b34e3d994adfedf6 Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Wed, 12 Jan 2022 17:32:06 -0300 Subject: [PATCH 9/9] Update urllib3 from 1.26.7 to 1.26.8 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index a913432e6..61344c100 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,4 +2,4 @@ certifi==2021.10.8 charset-normalizer==2.0.9 idna==3.3 requests==2.26.0 -urllib3==1.26.7 +urllib3==1.26.8