uccser/cs-field-guide

View on GitHub
csfieldguide/setup.cfg

Summary

Maintainability
Test Coverage
[flake8]
exclude =
    # No need to traverse our git or venv directories
    .git,
    venv,
    docker_venv,

    # There's no value in checking cache directories
    __pycache__,

    # These files are mostly or completely autogenerated
    migrations,
    manage.py,

    # This contains our built project files and documentation
    build,
    staticfiles,

    # This contains node_modules that we don't want to check
    node_modules,

    # Python 2 files
    static/files/linear-binary-search-python2.py,
    static/files/selection-quicksort-python2.py,

show-source = True
statistics = True
count = True
max-line-length=119

[pydocstyle]
# Ignore following rules to allow Google Python Style docstrings
add_ignore = D407,D413
match_dir = (?!migrations|node_modules|files|build|staticfiles).*