Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 158f8ca

Browse filesBrowse files
authored
Merge pull request #23767 from tacaswell/dev/flake8_force
DEV: add flake8-force plugin
2 parents d3dad4d + dacf1df commit 158f8ca
Copy full SHA for 158f8ca

File tree

Expand file treeCollapse file tree

3 files changed

+4
-1
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+4
-1
lines changed

‎.flake8

Copy file name to clipboardExpand all lines: .flake8
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,3 +113,4 @@ per-file-ignores =
113113
examples/user_interfaces/pylab_with_gtk4_sgskip.py: E402
114114
examples/user_interfaces/toolmanager_sgskip.py: E402
115115
examples/userdemo/pgf_preamble_sgskip.py: E402
116+
force-check = True

‎.pre-commit-config.yaml

Copy file name to clipboardExpand all lines: .pre-commit-config.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ repos:
2828
rev: 4.0.1
2929
hooks:
3030
- id: flake8
31-
additional_dependencies: [pydocstyle>5.1.0, flake8-docstrings>1.4.0]
31+
additional_dependencies: [pydocstyle>5.1.0, flake8-docstrings>1.4.0, flake8-force]
3232
args: ["--docstring-convention=all"]
3333
- repo: https://github.com/codespell-project/codespell
3434
rev: v2.1.0

‎requirements/testing/flake8.txt

Copy file name to clipboardExpand all lines: requirements/testing/flake8.txt
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ flake8>=3.8
55
pydocstyle>=5.1.0
66
# 1.4.0 adds docstring-convention=all
77
flake8-docstrings>=1.4.0
8+
# fix bug where flake8 aborts checking on syntax error
9+
flake8-force

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.