Skip to content

Commit f4611b7

Browse files
committed
Sync .flake8 with template
We have assembled a collection of reusable project assets: https://github.com/arduino/tooling-project-assets These will be used in the repositories of all Arduino tooling projects. This change only provides a sync with the upstream asset and has no functional effect.
1 parent df4d447 commit f4611b7

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Diff for: .flake8

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1+
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-python/.flake8
2+
# See: https://flake8.pycqa.org/en/latest/user/configuration.html
3+
# The code style defined in this file is the official standardized style to be used in all Arduino tooling projects and
4+
# should not be modified.
5+
16
[flake8]
27
doctests = True
3-
ignore =
4-
# W503 and W504 are mutually exclusive, so one or the other must be ignored.
5-
# PEP 8 recommends line break before, so we keep W504.
6-
W503
8+
# W503 and W504 are mutually exclusive. PEP 8 recommends line break before.
9+
ignore = W503
710
max-complexity = 10
811
max-line-length = 120
912
select = E,W,F,C,N

0 commit comments

Comments
 (0)