Skip to content

Commit 1ada5af

Browse files
authored
Run lint in Github Actions (#933)
Run lint in Github Actions to avoid PRs being merged that have accidentally included linting violations. Fix a file that has a linting violation.
1 parent ffff6b6 commit 1ada5af

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

oauth2_provider/middleware.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class OAuth2TokenMiddleware:
2121
It also adds "Authorization" to the "Vary" header, so that django's cache middleware or a
2222
reverse proxy can create proper cache keys.
2323
"""
24+
2425
def __init__(self, get_response):
2526
self.get_response = get_response
2627

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ python =
1111
3.5: py35
1212
3.6: py36
1313
3.7: py37
14-
3.8: py38, docs
14+
3.8: py38, docs, flake8
1515
3.9: py39
1616

1717
[pytest]

0 commit comments

Comments
 (0)