Skip to content

Commit a7622e0

Browse files
committed
Parse code Response with urllib
Fixes #19
1 parent 0f4847b commit a7622e0

9 files changed

+304
-266
lines changed

.gitignore

-3
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,5 @@ venv.bak/
104104
# mypy
105105
.mypy_cache/
106106

107-
# tests and tokens
108-
/tests
109-
110107
#Tokens
111108
.*-token

.pre-commit-config.yaml

+33-13
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,33 @@
1-
# See https://pre-commit.com for more information
2-
# See https://pre-commit.com/hooks.html for more hooks
3-
repos:
4-
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v3.2.0
6-
hooks:
7-
- id: trailing-whitespace
8-
- id: end-of-file-fixer
9-
- id: check-yaml
10-
- repo: https://github.com/psf/black
11-
rev: 19.3b0
12-
hooks:
13-
- id: black
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v3.2.0
6+
hooks:
7+
- id: trailing-whitespace
8+
- id: end-of-file-fixer
9+
- id: check-yaml
10+
- repo: https://github.com/myint/autoflake
11+
rev: v1.4
12+
hooks:
13+
- id: autoflake
14+
args:
15+
- --in-place
16+
- --remove-unused-variables
17+
- --remove-all-unused-imports
18+
- --expand-star-imports
19+
- repo: https://github.com/timothycrosley/isort
20+
rev: 5.6.4
21+
hooks:
22+
- id: isort
23+
args: ["--settings-path=tools/.isort.cfg"]
24+
- repo: https://github.com/psf/black
25+
rev: 19.3b0
26+
hooks:
27+
- id: black
28+
args: ["--line-length=80"]
29+
- repo: https://github.com/pre-commit/mirrors-mypy
30+
rev: v0.812
31+
hooks:
32+
- id: mypy
33+
args: ["--config-file=tools/.mypy.ini"]

apyauth/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
from .session import Oauth2Session

0 commit comments

Comments
 (0)