[flake8]
count = True
statistics = True
filename = *.py, *.pyx
per-file-ignores =
    */__init__.py:F401
    # allow arbitray whitespace in qoala/netqasm text
    tests/test_parser.py:W291
    tests/test_serialize.py:W291
    tests/test_procnode.py:W291
    tests/test_process.py:W291
    tests/test_request.py:W291
    tests/test_driver.py:W291
    tests/test_scheduler.py:W291
    tests/qnos/test_qnosprocessor.py:W291


# The 'black' formatter already limits code line lengths to 88.
# Let flake8 allow comments and docstrings to be at most 120 characters, for now.
max-line-length = 120

 # https://black.readthedocs.io/en/stable/compatible_configs.html#flake8
extend-ignore = E203, W503
