Skip to content
Snippets Groups Projects
setup.cfg 825 B
Newer Older
  • Learn to ignore specific revisions
  • [flake8]
    ignore = N802,W503,E402
    max-line-length = 160
    exclude = migrations,.ropeproject,static,_static,build
    
    [isort]
    combine_as_imports = true
    default_section = THIRDPARTY
    include_trailing_comma = true
    known_third_party = pretix
    known_standard_library = typing
    
    multi_line_output = 3
    
    use_parentheses = True
    force_grid_wrap = 0
    line_length = 88
    known_first_party = pretix_public_registrations
    
    [tool:pytest]
    DJANGO_SETTINGS_MODULE = pretix.testutils.settings
    
    [coverage:run]
    source = pretix_public_registrations
    omit = */migrations/*,*/urls.py,*/tests/*
    
    [coverage:report]
    exclude_lines =
        pragma: no cover
        def __str__
        der __repr__
        if settings.DEBUG
        NOQA
        NotImplementedError
    
    [check-manifest]
    ignore =
        .update-locales.sh
        .install-hooks.sh
        Makefile
        manage.py
        tests/*