Skip to content

Commit dcaa2d9

Browse files
committed
# Conflicts: # README.rst
2 parents 92498a6 + 401287d commit dcaa2d9

File tree

4 files changed

+34
-4
lines changed

4 files changed

+34
-4
lines changed

.github/workflows/main.yml

+30
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,36 @@ name: tests
22

33
on: [push, pull_request]
44

5+
env:
6+
# Environment variables to support color support (jaraco/skeleton#66):
7+
# Request colored output from CLI tools supporting it. Different tools
8+
# interpret the value differently. For some, just being set is sufficient.
9+
# For others, it must be a non-zero integer. For yet others, being set
10+
# to a non-empty value is sufficient.
11+
FORCE_COLOR: -106
12+
# MyPy's color enforcement (must be a non-zero number)
13+
MYPY_FORCE_COLOR: -42
14+
# Recognized by the `py` package, dependency of `pytest` (must be "1")
15+
PY_COLORS: 1
16+
# Make tox-wrapped tools see color requests
17+
TOX_TESTENV_PASSENV: >-
18+
FORCE_COLOR
19+
MYPY_FORCE_COLOR
20+
NO_COLOR
21+
PY_COLORS
22+
PYTEST_THEME
23+
PYTEST_THEME_MODE
24+
25+
# Suppress noisy pip warnings
26+
PIP_DISABLE_PIP_VERSION_CHECK: 'true'
27+
PIP_NO_PYTHON_VERSION_WARNING: 'true'
28+
PIP_NO_WARN_SCRIPT_LOCATION: 'true'
29+
30+
# Disable the spinner, noise in GHA; TODO(webknjaz): Fix this upstream
31+
# Must be "1".
32+
TOX_PARALLEL_NO_SPINNER: 1
33+
34+
535
jobs:
636
test:
737
strategy:
File renamed without changes.

README.rst

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
.. image:: https://img.shields.io/pypi/v/importlib_metadata.svg
2-
:target: `PyPI link`_
2+
:target: https://pypi.org/project/importlib_metadata
33

44
.. image:: https://img.shields.io/pypi/pyversions/importlib_metadata.svg
5-
:target: `PyPI link`_
6-
7-
.. _PyPI link: https://pypi.org/project/importlib_metadata
85

96
.. image:: https://github.com/python/importlib_metadata/workflows/tests/badge.svg
107
:target: https://github.com/python/importlib_metadata/actions?query=workflow%3A%22tests%22

mypy.ini

+3
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
[mypy]
22
ignore_missing_imports = True
3+
# required to support namespace packages
4+
# https://github.com/python/mypy/issues/14057
5+
explicit_package_bases = True

0 commit comments

Comments
 (0)