-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.flake8
More file actions
20 lines (19 loc) · 821 Bytes
/
.flake8
File metadata and controls
20 lines (19 loc) · 821 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# SPDX-License-Identifier: FSFAP
# Copyright (C) 2021, 2023, 2025 Colin B. Macdonald
# Copyright (C) 2022 Andrew Rechnitzer
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
[flake8]
max-line-length = 88
# E203 = conflicts with black
# E402 = seems to happen our init files - module import must be at top of file
# E501 = we have too many long lines
# W503 = black breaks lines before a binary op which flake does not like, but black does not mind
# E741 = do not use variables called I or O (confusion with one zero)
extend-ignore = E203, E501, W503, E741
per-file-ignores =
*/__init__.py: F401, E402
doc/source/conf.py: E402