All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
1 # Example configuration for Black.
3 # NOTE: you have to use single-quoted strings in TOML for regular expressions.
4 # It's the equivalent of r-strings in Python. Multiline strings are treated as
5 # verbose regular expressions by Black. Use [ ] to denote a significant space
10 target-version = ['py36', 'py37', 'py38']
14 # The following are specific to Black, you probably don't want those.
20 # We use preview style for formatting Black itself. If you
21 # want stable formatting across releases, you should keep
25 # Build system information and other project-specific configuration below.
26 # NOTE: You don't need this in your own Black configuration.
29 requires = ["setuptools>=45.0", "setuptools_scm[toml]>=6.3.1", "wheel"]
30 build-backend = "setuptools.build_meta"
37 skip_glob = ["src/blib2to3", "tests/data", "profiling"]
38 known_first_party = ["black", "blib2to3", "blackd", "_black_version"]
40 [tool.pytest.ini_options]
41 # Option below requires `tests/optional.py`
42 addopts = "--strict-config --strict-markers"
44 "no_blackd: run when `d` extra NOT installed",
45 "no_jupyter: run when `jupyter` extra NOT installed",
48 "incompatible_with_mypyc: run when testing mypyc compiled black"
53 # this is mitigated by a try/catch in https://github.com/psf/black/pull/2974/
54 # this ignore can be removed when support for aiohttp 3.7 is dropped.
55 '''ignore:Decorator `@unittest_run_loop` is no longer needed in aiohttp 3\.8\+:DeprecationWarning''',
56 # this is mitigated by https://github.com/python/cpython/issues/79071 in python 3.8+
57 # this ignore can be removed when support for 3.7 is dropped.
58 '''ignore:Bare functions are deprecated, use async ones:DeprecationWarning''',