pyproject.toml - Configuration for black and pytestΒΆ

[tool.black]

Per the docs, this is a regex.

exclude = '''/
    # Default values for Black.
    \.eggs|\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|\.svn|_build|buck-out|build|dist|
    # Files generated by Thrift.
    CodeChat_Server\/gen_py|
    # Runestone's default config file.
    CodeChat_Server\/templates\/runestone
/'''

[tool.pytest.ini_options]
testpaths = [
    "tests",
]