mirror of
https://gerrit.googlesource.com/git-repo
synced 2026-01-11 17:10:33 +00:00
This hasn't been working out as well as we'd hope. Tox relies on the system having Python versions installed which distros don't tend to carry anymore. Our custom run_tests leverages vpython when possible to run stable Python 3.8 & 3.11 versions which is providing an OK level of coverage in practice. Change-Id: Ida517f7be47ca95703e43bc0af5a24dd70c0467e Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/540001 Tested-by: Mike Frysinger <vapier@google.com> Reviewed-by: Gavin Mak <gavinmak@google.com> Commit-Queue: Mike Frysinger <vapier@google.com>
23 lines
813 B
TOML
23 lines
813 B
TOML
# Copyright (C) 2023 The Android Open Source Project
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
[tool.black]
|
|
line-length = 80
|
|
target-version = ['py36', 'py37', 'py38', 'py39', 'py310', 'py311'] #, 'py312'
|
|
|
|
[tool.pytest.ini_options]
|
|
markers = """
|
|
skip_cq: Skip tests in the CQ. Should be rarely used!
|
|
"""
|