From b74d36643ab61dca98c49e4de9eaf6e8ae2baf5e Mon Sep 17 00:00:00 2001 From: souzaleme Date: Fri, 18 Feb 2022 15:43:59 -0300 Subject: [PATCH 1/2] Adicionada Flake8 como dependencia #12 --- .idea/.gitignore | 3 +++ .idea/inspectionProfiles/profiles_settings.xml | 6 ++++++ .idea/libpythonpro-1.iml | 17 +++++++++++++++++ .idea/misc.xml | 4 ++++ .idea/modules.xml | 8 ++++++++ .idea/vcs.xml | 6 ++++++ README.md | 5 ++++- libpythonpro/github_api.py | 1 - 8 files changed, 48 insertions(+), 2 deletions(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/inspectionProfiles/profiles_settings.xml create mode 100644 .idea/libpythonpro-1.iml create mode 100644 .idea/misc.xml 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..26d33521a --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/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-1.iml b/.idea/libpythonpro-1.iml new file mode 100644 index 000000000..fbe4a8274 --- /dev/null +++ b/.idea/libpythonpro-1.iml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 000000000..d56657add --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 000000000..63512f0ed --- /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 676c14d7f..b1e0a3f61 100644 --- a/README.md +++ b/README.md @@ -11,11 +11,14 @@ 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 Pythonex Para instalar: ```console +python -m venv .venv +.venv\Scripts\activate +pip install -r riquerements-dev.txt pip install pipenv pipenv install --dev ``` diff --git a/libpythonpro/github_api.py b/libpythonpro/github_api.py index 8b0fbafb9..408573758 100644 --- a/libpythonpro/github_api.py +++ b/libpythonpro/github_api.py @@ -4,7 +4,6 @@ def buscar_avatar(usuario): """ Busca o avatar de um usuário no Github - :param usuario: str com o nome de usuário no github :return: str com o link do avatar """ From d2b74a9aa6ee2852789abc260c8abe383bfbabe7 Mon Sep 17 00:00:00 2001 From: souzaleme Date: Sat, 19 Feb 2022 18:02:31 -0300 Subject: [PATCH 2/2] Configurado Travis CI #13 --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 6694375b7..0c91d1121 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,9 @@ language: python python: - 3.7 + - 2.7 install: + - pip install -r requirements-dev.txt - pip install -q pipenv codecov - pipenv sync --dev script: