generated from caltechlibrary/template
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.flake8
27 lines (26 loc) · 1.01 KB
/
.flake8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# =============================================================================
# @file .flake8
# @brief Project-wide Flake8 configuration
# @created 2022-04-22
# @license Please see the file named LICENSE in the project directory
# @website https://github.com/caltechlibrary/documentarist
# =============================================================================
[flake8]
ignore =
# I prefer to put spaces around the = in keyword arg lists.
E251,
# I try to stick to 80 chars but don't want to be hung up on it.
E501,
# I prefer two lines between methods of a class.
E303,
# Sometimes I prefer to align keywords and these rules run counter to it.
E271,
E221
# In some situations, it's more readable to omit spaces around operators
# and colons.
E203,
E226,
# According to Flake8 docs at https://www.flake8rules.com/rules/W503.html
# line breaks *should* come before a binary operator, but as of version 4,
# Flake8 still flags the breaks as bad. So:
W503