File: .flake8

package info (click to toggle)
augur 24.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 25,316 kB
  • sloc: python: 14,253; sh: 232; makefile: 34
file content (21 lines) | stat: -rw-r--r-- 625 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Right now we use Flake8 only for a few static checks focusing on runtime
# safety and correctness.  We don't use it for style checks.

[flake8]
select =
    # syntax errors
    E9,

    # all pyflakes correctness issues
    F,

# This option requires flake8 >=3.6.0, but if the pin is defined in setup.py, a
# proper Snakemake version can't be resolved. I'm not sure why, so I've left
# flake8 unpinned with a note here describing why (on the off chance that an
# incompatible version of flake8 is installed).
extend-ignore =
    # allow f-strings without any placeholders
    F541,

    # allow unused variables
    F841,