Fix whitespace issues

This commit is contained in:
Andrej730 authored and Ivan Pozdeev committed 2026-10-31 15:31:13 +03:00
1 parent 40f7ca6684
commit f17642d4b6
49 files changed
+108 -115

No files matched your search

@@ -242,7 +242,7 @@ class CondaVersion(NamedTuple):
return PyVersion.PY36
raise ValueError(self.flavor)
def requires_tos_accept(self):
"""
requires to accept TOS for installation
@@ -113,7 +113,7 @@ def add_version(release, distributions):
shas = dict([download_sha(url) for (name, url) in download_urls.items()
if name.endswith('.sha256') and supported(os.path.splitext(name)[0]) and tag_name in name])
specs = [create_spec(filename, sha, download_urls[filename]) for (filename, sha) in shas.items() if supported(filename)]
for distribution in distributions:
distribution_specs = [spec for spec in specs if distribution in spec['flavor'].lower()]
@@ -165,7 +165,7 @@ if __name__ == '__main__':
help="Increase verbosity of logging",
)
parsed = parser.parse_args()
if parsed.verbose: logging.getLogger.setLevel(logging.DEBUG)
main()
+2 -2
View File
@@ -5,7 +5,7 @@ _python_build_dir=$(cd "${BASH_SOURCE%/*}/.."; pwd -P)
backport() {
[[ $# -lt 2 ]] && { echo "usage: $FUNCNAME <commit_hash> <CPython version>..." >&2; return 1; }
(set -euxo pipefail
sha="${1:?}"
shift
@@ -24,4 +24,4 @@ backport() {
mv "$f" "$patch_dir/$(printf '%04d' $((${f::4}+patch_offset)))${f:4}"
done
done)
}
}