eager-dev/eagerx

View on GitHub
setup.cfg

Summary

Maintainability
Test Coverage
[metadata]
# This includes the license file in the wheel.
license_file = LICENSE

[tool:pytest]
# Deterministic ordering for tests; useful for pytest-xdist.
filterwarnings =
        # Tensorboard warnings
        ignore::DeprecationWarning:tensorboard
        # Gym warnings
        ignore:Parameters to load are deprecated.:DeprecationWarning
        ignore:the imp module is deprecated in favour of importlib:PendingDeprecationWarning
        ignore::UserWarning:gym

[flake8]
ignore = W503,W504,E203,E231,E501
# line breaks before and after binary operators
# Ignore import not used when aliases are defined
per-file-ignores =
    eagerx/core/__init__.py:F401
    eagerx/__init__.py:F401
exclude =
    # No need to traverse our git directory
    .git,
    # There's no value in checking cache directories
    __pycache__,
    # Don't check the doc
    docs/
    # This contains our built documentation
    build,
    # This contains builds of flake8 that we don't want to check
    dist
        *.egg-info
# Set to 15?
max-complexity = 30
# The GitHub editor is 127 chars wide
max-line-length = 127

[isort]
profile = black
line_length = 127
src_paths = eagerx