Skip to content

Commit

Permalink
Fix pre-commit warning message for black
Browse files Browse the repository at this point in the history
Close #1244
  • Loading branch information
nicolaiarocci committed Mar 28, 2019
1 parent 57f7bfb commit 8a21f5b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ repos:
rev: stable
hooks:
- id: black
python_version: python3.6
language_version: python3.7
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v1.3.0
hooks:
Expand Down
8 changes: 5 additions & 3 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ Fixed
- Datasource projection is not respected for POST requests (`#1189`_)
- Soft delete removes ``auth_field`` from document (`#1188`_)
- On Mongo 3.6+, we don't return 400 'immutable field' on PATCH and PUT (`#1243`_)
- UserWarning: JSON setting is deprecated. Use RENDERERS instead (`#1241`_).
- DeprecationWarning: decodestring is deprecated, use decodebytes (`#1242`_)
- DeprecationWarning: count is deprecated. Use Collection.count_documents instead (`#1202`_)
- Expecting JSON response for rate limit exceeded scenario (`#1227`_)
- Multiple concurrent patches to the same record, from different processes,
should result in at least one patch failing with a 412 error (Precondition
Expand All @@ -29,6 +26,10 @@ Fixed
- HATEOAS ``_links`` seems to get an extra ``&version=diffs`` (`#1228`_)
- Do not alter ETag when performing an oplog_push (`#1206`_)
- CORS response headers missing for media endpoint (`#1197`_)
- Warning: Unexpected keys present on black: ``python_version`` (`#1244`_)
- UserWarning: JSON setting is deprecated. Use RENDERERS instead (`#1241`_).
- DeprecationWarning: decodestring is deprecated, use decodebytes (`#1242`_)
- DeprecationWarning: count is deprecated. Use Collection.count_documents instead (`#1202`_)
- Documentation typos (`#1218`_, `#1240`_)

Improved
Expand All @@ -44,6 +45,7 @@ Improved
their logic to dedicated methods (`#1194`_)
- Add a "Python 3 is highly preferred" note on the homepage (`#1198`_)

.. _`#1244`: https://github.com/pyeve/eve/issues/1244
.. _`#1189`: https://github.com/pyeve/eve/issues/1189
.. _`#1188`: https://github.com/pyeve/eve/issues/1188
.. _`#1198`: https://github.com/pyeve/eve/issues/1198
Expand Down

0 comments on commit 8a21f5b

Please sign in to comment.