Commit graph

11 commits

Author SHA1 Message Date
pre-commit-ci[bot]
eb4cb35368 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-03-25 17:42:50 +00:00
Tom
6051897a91 Add ability to disable qa for blocks of code
An ignore block can be defined with `# noqa: on` and `# noqa: off`
comments. Ignore block behaviour should be the same as inline ignore.
2025-03-25 13:32:35 -04:00
Anthony Sottile
fba6df88f9 remove --diff option 2022-10-26 20:39:12 -07:00
Anthony Sottile
e94fb10940 require python>=3.7 2022-08-05 19:51:08 -04:00
Anthony Sottile
fa4c31fb97 break type checking cycles 2022-01-05 13:40:16 -05:00
Anthony Sottile
af1668bf04 extend black formatting to tests as well 2021-04-18 09:23:48 -07:00
Anthony Sottile
358ae85120 automatic: pyupgrade --py36-plus 2021-03-30 17:37:13 -07:00
Markus Piotrowski
37964dbd84 Update test_violation.py
Added tests to check if long error codes are correctly identified.
2019-06-16 17:02:54 +00:00
Tomer Keren
8c9c462154 Add tests for noqa without a space 2018-12-27 18:14:20 +02:00
Ian Stapleton Cordasco
ec996ffd85
Allow spaces in # noqa lists
To match our new configuration file format and its allowance for spaces
in the list

Closes #356
2017-07-28 19:31:32 -05:00
Ian Cordasco
92c367dee4
Rename style_guide.Error to style_guide.Violation
Move all Violation related methods from the StyleGuide to our Violation
class.
2017-06-04 07:57:28 -05:00