black.toml
author Kyle Lippincott <spectral@google.com>
Fri, 12 Feb 2021 11:06:56 -0800
changeset 46517 eb36f7a71291
parent 46455 5be886200eb6
permissions -rw-r--r--
gendoc: add support for loading extensions from config settings We manage our installation and ship some extensions, enabled by default for our users, that are in hgext3rd or other directories not scanned by this tool by default. We want to generate docs during the build process, and having those docs include the extensions that users don't have to manually enable is desirable. This is *not* desirable for the normal build process, however, and should never be enabled by default. Differential Revision: https://phab.mercurial-scm.org/D9989
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
46455
5be886200eb6 ci-fix: backed out changeset d4c8b4b90ecb
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
     1
[tool.black]
5be886200eb6 ci-fix: backed out changeset d4c8b4b90ecb
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
     2
line-length = 80
5be886200eb6 ci-fix: backed out changeset d4c8b4b90ecb
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
     3
exclude = '''
5be886200eb6 ci-fix: backed out changeset d4c8b4b90ecb
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
     4
build/
5be886200eb6 ci-fix: backed out changeset d4c8b4b90ecb
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
     5
| wheelhouse/
5be886200eb6 ci-fix: backed out changeset d4c8b4b90ecb
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
     6
| dist/
5be886200eb6 ci-fix: backed out changeset d4c8b4b90ecb
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
     7
| packages/
5be886200eb6 ci-fix: backed out changeset d4c8b4b90ecb
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
     8
| \.hg/
5be886200eb6 ci-fix: backed out changeset d4c8b4b90ecb
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
     9
| \.mypy_cache/
5be886200eb6 ci-fix: backed out changeset d4c8b4b90ecb
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    10
| \.venv/
5be886200eb6 ci-fix: backed out changeset d4c8b4b90ecb
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    11
| mercurial/thirdparty/
5be886200eb6 ci-fix: backed out changeset d4c8b4b90ecb
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    12
'''
5be886200eb6 ci-fix: backed out changeset d4c8b4b90ecb
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    13
skip-string-normalization = true
5be886200eb6 ci-fix: backed out changeset d4c8b4b90ecb
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff changeset
    14
quiet = true