# Taken directly from https://github.com/ambv/black/blob/master/.flake8
[flake8]
ignore = 
    C408, # ignore temporarily https://github.com/adamchainz/flake8-comprehensions/pull/282
    E203, 
    E266, # too many leading # for block comments
    E501, # line too long, conflict with black 
    E731, 
    W503, # linebreak before binary operator, conflict with black
    C901, 
    D104, 
    D100,
    D105, # missing docstring in magic method, unecessary
    D205,
    D400
max-line-length = 88
max-complexity = 18
select = B,C,E,F,W,T4,B9,D
enable-extensions = flake8-docstrings
per-file-ignores =
    tests/**:D101,D102,D103,D401
docstring-convention = numpy
