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/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 000000000..5eacb3b84 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,149 @@ + + + + \ No newline at end of file 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..55ea6e2cf --- /dev/null +++ b/.idea/libpythonpro.iml @@ -0,0 +1,15 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 000000000..54d55dd92 --- /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..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/MANIFEST.in b/MANIFEST.in index 74215c3ee..3eb1cb4bc 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1,3 @@ include README.md -include LICENSE \ No newline at end of file +include LICENSE + diff --git a/libpythonpro/github_api.py b/libpythonpro/github_api.py index 8b0fbafb9..5162cdac3 100644 --- a/libpythonpro/github_api.py +++ b/libpythonpro/github_api.py @@ -11,3 +11,5 @@ def buscar_avatar(usuario): url = f'https://api.github.com/users/{usuario}' resp = requests.get(url) return resp.json()['avatar_url'] + + diff --git a/requirements-dev.txt b/requirements-dev.txt new file mode 100644 index 000000000..a82b55fe1 --- /dev/null +++ b/requirements-dev.txt @@ -0,0 +1,15 @@ +flake8==3.8.3 +mccabe==0.6.1 +packaging==20.4 +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 diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 000000000..565594d21 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,21 @@ +attrs==20.2.0 +certifi==2020.6.20 +chardet==3.0.4 +flake8==3.8.3 +freeze==3.0 +idna==2.10 +iniconfig==1.0.1 +mccabe==0.6.1 +more-itertools==8.5.0 +packaging==20.4 +pluggy==0.13.1 +py==1.9.0 +pycodestyle==2.6.0 +pyflakes==2.2.0 +pyparsing==2.4.7 +pytest==6.0.2 +requests==2.24.0 +six==1.15.0 +toml==0.10.1 +urllib3==1.25.10 +