Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add black and flake8-bugbear - automatically picked up by multilint * Add pyproject.toml black configuration to target Python 3.5 * Reconfigure isort and flake8 * Drop flake8-commas and rely on Black's trailing comma insertion only * Run black on the code * Add README badge
- Loading branch information
1 parent
da2a508
commit a259cb1
Showing
30 changed files
with
501 additions
and
420 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
from corsheaders.checks import check_settings # noqa: F401 | ||
|
||
__version__ = '3.0.2' | ||
__version__ = "3.0.2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,13 @@ | ||
default_headers = ( | ||
'accept', | ||
'accept-encoding', | ||
'authorization', | ||
'content-type', | ||
'dnt', | ||
'origin', | ||
'user-agent', | ||
'x-csrftoken', | ||
'x-requested-with', | ||
"accept", | ||
"accept-encoding", | ||
"authorization", | ||
"content-type", | ||
"dnt", | ||
"origin", | ||
"user-agent", | ||
"x-csrftoken", | ||
"x-requested-with", | ||
) | ||
|
||
default_methods = ( | ||
'DELETE', | ||
'GET', | ||
'OPTIONS', | ||
'PATCH', | ||
'POST', | ||
'PUT', | ||
) | ||
default_methods = ("DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT") |
Oops, something went wrong.