[flake8]
select = C,E,F,W
ignore = E203,E231,E501,E741,W503,W504,C901
max-line-length = 88
per-file-ignores =
    **/__init__.py:F401,E402,F403
    theano/sparse/sandbox/sp2.py:F401
    tests/tensor/test_basic_scipy.py:E402
    tests/sparse/test_basic.py:E402
    tests/sparse/test_opt.py:E402
    tests/sparse/test_sp2.py:E402
    tests/sparse/test_utils.py:E402,F401
    tests/sparse/sandbox/test_sp.py:E402,F401
    tests/scalar/test_basic_sympy.py:E402
    tests/gpuarray/test_type.py:E402
    tests/gpuarray/test_abstractconv.py:E402
    tests/gpuarray/test_dnn.py:E402
    tests/gpuarray/test_elemwise.py:E402
    tests/gpuarray/test_others.py:E402
    tests/gpuarray/test_basic_ops.py:E402
exclude =
    versioneer.py
    doc/
    theano/_version.py

[versioneer]
VCS = git
style = pep440
versionfile_source = theano/_version.py
versionfile_build = theano/_version.py
tag_prefix = rel-

[tool:pytest]
addopts = --durations=50
testpaths = tests/

[pylint]
max-line-length = 88

[pylint.messages_control]
disable = C0330, C0326

[isort]
profile = black
lines_after_imports = 2
lines_between_sections = 1
honor_noqa = True
skip_gitignore = True
skip = theano/version.py