-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use DRF 3.1
pagination_class
(#3559)
* Use DRF 3.1 `pagination_class` * Update pre-commit and styles This style corresponds to PR #3559 * Lint * Pagination tests
- Loading branch information
1 parent
021c546
commit e6f1c54
Showing
4 changed files
with
187 additions
and
94 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ exclude: '^$' | |
fail_fast: false | ||
repos: | ||
- repo: [email protected]:pre-commit/pre-commit-hooks | ||
sha: v1.1.1 | ||
sha: v1.2.0 | ||
hooks: | ||
- id: autopep8-wrapper | ||
- id: check-added-large-files | ||
|
@@ -30,7 +30,7 @@ repos: | |
- id: trailing-whitespace | ||
|
||
- repo: [email protected]:pre-commit/mirrors-yapf.git | ||
sha: v0.20.0 | ||
sha: v0.20.1 | ||
hooks: | ||
- id: yapf | ||
exclude: 'migrations|settings|scripts' | ||
|
@@ -56,9 +56,10 @@ repos: | |
args: ['--in-place', '--remove-all-unused-imports', '--remove-unused-variable'] | ||
|
||
- repo: git://github.com/guykisel/prospector-mirror | ||
sha: 'b27f281eb9398fc8504415d7fbdabf119ea8c5e1' | ||
sha: b27f281eb9398fc8504415d7fbdabf119ea8c5e1 | ||
hooks: | ||
- id: prospector | ||
# https://github.com/pre-commit/pre-commit/issues/178 | ||
language: system | ||
files: '\.py$' | ||
args: ['--profile=prospector'] |
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
Oops, something went wrong.