- 06 8月, 2017 2 次提交
-
-
由 Ian Stapleton Cordasco 创作于
Prepare master branch for development of 3.5.0 See merge request !200
-
由 Ian Stapleton Cordasco 创作于
-
- 29 7月, 2017 2 次提交
-
-
由 Ian Cordasco 创作于
Allow spaces in # noqa lists Closes #356 See merge request !196
-
由 Ian Stapleton Cordasco 创作于
To match our new configuration file format and its allowance for spaces in the list Closes #356
-
- 28 7月, 2017 3 次提交
-
-
由 Ian Cordasco 创作于
Fix regression in --select behaviour in v3.4.0 Closes #354 See merge request !195
-
由 Ian Stapleton Cordasco 创作于
-
由 Ian Stapleton Cordasco 创作于
Previously we were hitting the catch-all return that decided the error was selected. Instead, let's add specific logic since we now know how we would hit that and we actually don't want it to be selected. Closes #354
-
- 27 7月, 2017 7 次提交
-
-
由 Ian Stapleton Cordasco 创作于
-
由 Ian Stapleton Cordasco 创作于
-
由 Ian Stapleton Cordasco 创作于
-
由 Shinya Kawaguchi 创作于
-
由 Ian Cordasco 创作于
Use extras_require instead of conditional code. See merge request !191
-
由 Ian Cordasco 创作于
Removed unused imported module `os` from flake8.main.git._HOOK_TEMPLATE See merge request !194
-
由 Ayman Nedjmeddine 创作于
-
- 22 7月, 2017 1 次提交
-
-
由 Shinya Kawaguchi 创作于
-
- 11 7月, 2017 1 次提交
-
-
由 Zvezdan Petkovic 创作于
Use of extras_require produces correct package metadata for flake8 regardless of the version of Python the package is built with. The conditional code produces different metadata for Python 3 and 2. The latest versions of flake8 were released with Python 3 and metadata did not contain two dependencies necessary for use with Python 2.7. See https://gitlab.com/pycqa/flake8/issues/341 for details. Account for users of setuptools<18 that still need the conditional code.
-
- 04 6月, 2017 7 次提交
-
-
由 Ian Cordasco 创作于
Refactor decision logic into its own object See merge request !190
-
由 Ian Cordasco 创作于
-
由 Ian Cordasco 创作于
This was mostly to prove to myself that we could possibly reach that return more than actually covering that return. This just shows how gnarly this logic actually is. I wish there were a better way to write it.
-
由 Ian Cordasco 创作于
Also, this further highlights why naming methods is so hard. I can't think of a better name for 'more_specific_decision_for' that isn't wildly long and unnecessarily verbose.
-
由 Ian Cordasco 创作于
-
由 Ian Cordasco 创作于
Move all Violation related methods from the StyleGuide to our Violation class.
-
由 Ian Cordasco 创作于
Rename `decision_for` to `more_specific_decision_for` and `should_report_error` to `decision_for`.
-
- 03 6月, 2017 1 次提交
-
-
由 Ian Cordasco 创作于
Convert it to test the DecisionEngine class directly and put them in their own file.
-
- 02 6月, 2017 2 次提交
-
-
由 Ian Cordasco 创作于
In dealing with the decision logic in the StyleGuide recently I recognized that the logic really doesn't belong strictly on the StyleGuide. A separate object makes perfect sense especially from the perspective of testability. This is a minor refactor intended solely to facilitate further testing and perhaps making the logic easier to understand for others.
-
由 Ian Cordasco 创作于
-
- 30 5月, 2017 3 次提交
-
-
由 Ian Cordasco 创作于
Add documentation for using --select and --ignore seperately and together See merge request !188
-
由 Ian Cordasco 创作于
-
由 Ian Cordasco 创作于
In order to write this documentation, we need to also add documentation for the --max-complexity option which was heretofore undocumented.
-
- 28 5月, 2017 6 次提交
-
-
由 Ian Cordasco 创作于
Further improve our handling of --select and --ignore Closes #318 See merge request !187
-
由 Ian Cordasco 创作于
Add test to cover branch of decision logic we were not previously exercising
-
由 Ian Cordasco 创作于
-
由 Ian Cordasco 创作于
-
由 Ian Cordasco 创作于
-
由 Ian Cordasco 创作于
There was a *very* subtle bug in how we handle blanket select statements with error codes that are in our DEFAULT_IGNORE. In the specific case, users were specifying ``--select E`` and E126 was not being properly reported. This unveiled further logic bugs as we refined this. Closes #318
-
- 27 5月, 2017 2 次提交
-
-
由 Ian Cordasco 创作于
Prefer iter(dict) instead of dict.keys() See merge request !186
-
由 Jon Dufresne 创作于
They are equivalent for iterating so remove the additional function call. Pattern identified as outdated by Lennart Regebro's PyCon 2017 talk "Prehistoric Patterns in Python" https://www.youtube.com/watch?v=V5-JH23Vk0I
-
- 26 5月, 2017 3 次提交
-
-
由 Ian Cordasco 创作于
Avoid bugs when users accidentally forget a comma Closes #329 See merge request !185
-
由 Ian Cordasco 创作于
-
由 Ian Cordasco 创作于
Closes #329
-