[flake8]
exclude =
    .git,
    .pybuild,
    __pycache__,
    build,
    debian,
    script
ignore =
    # don't require commas in places that only Python 3.6 requires them (we're
    # on Python 3.5)
    C816,
    # don't require docstrings on public methods
    D102,
    # don't require docstrings on magic methods
    D105,
    # don't require docstrings on __init__ methods
    D107,
    # don't require one-line docstrings to be on a single line (as there's a
    # bug in the check such that it doesn't allow enough space for the quotes
    # when calculating the line length)
    D200,
    # allow blank lines after docstrings
    D202,
    # don't require imperative mood docstrings
    D401

# try to keep it below 80, but this allows us to push it a bit when needed.
max_line_length = 90


[isort]
atomic = true
balanced_wrapping = true
# vertical hanging indent style wrapping
multi_line_output = 3
include_trailing_comma = true

known_first_party = robotd
default_section = THIRDPARTY
sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER

[flake8]
exclude =
    .git,
    .pybuild,
    __pycache__,
    build,
    debian,
    script
ignore =
    # allow attributes which share names with Python builtins
    A003,
    # don't require commas in places that only Python 3.6 requires them (we're
    # on Python 3.5)
    C816,
    # don't require docstrings on public methods
    D102,
    # don't require docstrings on magic methods
    D105,
    # don't require docstrings on __init__ methods
    D107,
    # don't require one-line docstrings to be on a single line (as there's a
    # bug in the check such that it doesn't allow enough space for the quotes
    # when calculating the line length)
    D200,
    # allow blank lines after docstrings
    D202,
    # don't require imperative mood docstrings
    D401

# try to keep it below 80, but this allows us to push it a bit when needed.
max_line_length = 90


[isort]
atomic = true
balanced_wrapping = true
# vertical hanging indent style wrapping
multi_line_output = 3
include_trailing_comma = true

known_first_party = robotd
default_section = THIRDPARTY
sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER

Allow attributes which share names with Python builtins
Allow attributes which share names with Python builtins

For now at least we can't change this as that would be a breaking
change to our API. Even then, I don't actually think that this is
a useful warning (i.e: I think it's fine to have attributes called
'id', 'open', etc.)
