Skip to content

Commit

Permalink
Merge #79
Browse files Browse the repository at this point in the history
79: Pin flake8-commas to latest version 2.0.0 r=duckinator a=pyup-bot


This PR pins [flake8-commas](https://pypi.org/project/flake8-commas) to the latest release **2.0.0**.



<details>
  <summary>Changelog</summary>
  
  
   ### 2.0.0
   ```
   ------------------

- Hide ._base from flake8 --version.
  (`Issue 45 &lt;https://github.com/PyCQA/flake8-commas/issue/45&gt;`_)
- Update URL to https://github.com/PyCQA/flake8-commas/.
  (`Issue 51 &lt;https://github.com/PyCQA/flake8-commas/pull/51&gt;`_)
- Add check for trailing commas on bare tuples - C818, thanks to
  `Chris AtLee &lt;https://github.com/catlee&gt;`_ and
  `Arkadiusz Adamski &lt;https://github.com/ar4s/flake8_tuple&gt;`_
  (`PR 52 &lt;https://github.com/PyCQA/flake8-commas/pull/52&gt;`_)
   ```
   
  
  
   ### 1.0.0
   ```
   ------------------

- No changes from 0.5.1, just releasing the first major version.
   ```
   
  
  
   ### 0.5.1
   ```
   ------------------

- Refactor single/multi tuple/subscript to simply count commas in all cases.
- Prohibit trailing commas in lambda parameter lists.
- Fix a missing trailing comma false positive in subcripts with slices.
- Fix a prohibited trailing comma false positve in subscripts with slices.
- All (`Issue 48 &lt;https://github.com/flake8-commas/flake8-commas/pull/48&gt;`_)
   ```
   
  
  
   ### 0.5.0
   ```
   ------------------

- Remove EOL Python 3.3.
  (`Issue 47 &lt;https://github.com/flake8-commas/flake8-commas/pull/47&gt;`_)
- Prohibit trailing commas where there is no following new line
  (or forming a single element tuple).
  (`Issue 46 &lt;https://github.com/flake8-commas/flake8-commas/pull/46&gt;`_)
   ```
   
  
  
   ### 0.4.3
   ```
   ------------------

- Enforce trailing commas in subscript tuples and slices again.
  Regression from 0.4.2
  (`Issue 42 &lt;https://github.com/flake8-commas/flake8-commas/pull/42&gt;`_)
   ```
   
  
  
   ### 0.4.2
   ```
   ------------------

- Prevent lambda params in a parenth form enforcing a trailing comma.
  (`Issue 41 &lt;https://github.com/flake8-commas/flake8-commas/pull/41&gt;`_)
- Fix issue preventing execution on Python 2 with Flake8 3.
  (`Issue 35 &lt;https://github.com/flake8-commas/flake8-commas/issues/35&gt;`_)
- Allow bare wrapped subscript notation access.
  (`Issue 39 &lt;https://github.com/flake8-commas/flake8-commas/pull/39&gt;`_)
- Don&#39;t require comma in assert statement with parenth form.
  (`Issue 37 &lt;https://github.com/flake8-commas/flake8-commas/pull/37&gt;`_)
   ```
   
  
  
   ### 0.4.1
   ```
   ------------------

- Add the framework flake8 trove classifier.
   ```
   
  
  
   ### 0.4.0
   ```
   ------------------

- Support flake8 3.x.x.
  (`Issue 20 &lt;https://github.com/flake8-commas/flake8-commas/issue/20&gt;`_)
- No trailing comma after any function def with unpack.
- support Python 3.6 `issue9232 &lt;https://bugs.python.org/issue9232&gt;`_
  trailing commas.
  (`Issue 33 &lt;https://github.com/flake8-commas/flake8-commas/pull/33&gt;`_)
   ```
   
  
  
   ### 0.3.1
   ```
   ------------------

- Also parse unpacks with literals.
  (`Issue 30 &lt;https://github.com/flake8-commas/flake8-commas/issue/30&gt;`_)
   ```
   
  
  
   ### 0.3.0
   ```
   ------------------

- If there is a comment after the last item, do not report an error.
  (`Issue 18 &lt;https://github.com/flake8-commas/flake8-commas/issue/18&gt;`_)
- If there is an empty, tuple, list, dict, or function, do not report an error.
  (`Issue 17 &lt;https://github.com/flake8-commas/flake8-commas/issue/17&gt;`_)
- Support PEP 3132 Python 3.5+ extended unpacking.
  (`Issue 26 &lt;https://github.com/flake8-commas/flake8-commas/issue/26&gt;`_)
- `*args` should not require a trailing comma.
  (`Issue 27 &lt;https://github.com/flake8-commas/flake8-commas/issue/27&gt;`_)
   ```
   
  
  
   ### 0.2.0
   ```
   ------------------

- First version of flake8-commas with changelog
- Fix HTML readme render on PyPI.
- Support various parenth_form edge cases.
- Merge from flake8-trailing-commas
   ```
   
  
  
   ### 0.1.3
   ```
   ------------------

- Nothing changed yet.
   ```
   
  
  
   ### 0.1.2
   ```
   ------------------

- Fix HTML readme render on PyPI.
   ```
   
  
  
   ### 0.1.1
   ```
   ------------------

- Support various parenth_form edge cases.
   ```
   
  
  
   ### 0.1.0
   ```
   ------------------

- First version of flake8-trailing-commas that can be installed from PyPI
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/flake8-commas
  - Changelog: https://pyup.io/changelogs/flake8-commas/
  - Repo: https://github.com/PyCQA/flake8-commas/
</details>



Co-authored-by: pyup-bot <github-bot@pyup.io>
  • Loading branch information
bors[bot] and pyup-bot authored Jan 9, 2020
2 parents c448e49 + a6b01ac commit 31ebca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ tests_require =
testing =
flake8~=3.5
flake8-bugbear
flake8-commas
flake8-commas==2.0.0
flake8-docstrings
# pydocstyle is pinned due to https://gitlab.com/pycqa/flake8-docstrings/issues/36
pydocstyle<4
Expand Down

0 comments on commit 31ebca8

Please sign in to comment.