annotate black.toml @ 46596:d2e61f00ee9d

rust: Introduce a get_bytes_from_os_str utility function It does the same as get_bytes_from_path but takes an `OsStr` instead of a `Path`. The implementation is the same so using either ends up correct but the function name suggests it’s not. Differential Revision: https://phab.mercurial-scm.org/D10007
author Simon Sapin <simon.sapin@octobus.net>
date Wed, 17 Feb 2021 11:21:34 +0100
parents 5be886200eb6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
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