[all]
ignore = .tox/**,
    .git/**,
    .gitignore,
    .gitreview,
    .gitmodules,
    .pytest_cache/**,
    node_modules/**,
    docs/conf.py,
    lftools/cli/nexus2/**,
    lftools/cli/nexus3/**,
    .venv/**

[all.Documentation]
bears = WriteGoodLintBear
files = docs/**/*.rst
ignore += docs/commands/nexus.rst

[all.MarkDown]
bears = MarkdownBear,SpaceConsistencyBear,WriteGoodLintBear
files = **.md, **.markdown
use_spaces = true

[all.Python]
bears = BanditBear,
    PEP8Bear,
    PyCommentedCodeBear,
    PyDocStyleBear,
    PyFlakesBear,
    PyImportSortBear
files = lftools/**.py
known_first_party_imports = lftools
known_third_party_imports =
    defusedxml,
    email_validator,
    httplib2,
    jenkins,
    jsonschema,
    oauth2client,
    pytest,
    ruamel.yaml,
    six,
    shade,
    xdg,
    yaml,
    pygerrit2,
    pygithub,
    bs4

pydocstyle_ignore = D203, D213, D301
max_line_length = 120

[all.Shell]
bears = ShellCheckBear,
    SpaceConsistencyBear
files = **.sh, shell/*
shell = bash
indent_size = 4
use_spaces = yeah
