Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
# Conflicts:
#	README.rst
  • Loading branch information
jaraco committed Nov 10, 2022
2 parents 92498a6 + 401287d commit dcaa2d9
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 4 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/main.yml
Expand Up @@ -2,6 +2,36 @@ name: tests

on: [push, pull_request]

env:
# Environment variables to support color support (jaraco/skeleton#66):
# Request colored output from CLI tools supporting it. Different tools
# interpret the value differently. For some, just being set is sufficient.
# For others, it must be a non-zero integer. For yet others, being set
# to a non-empty value is sufficient.
FORCE_COLOR: -106
# MyPy's color enforcement (must be a non-zero number)
MYPY_FORCE_COLOR: -42
# Recognized by the `py` package, dependency of `pytest` (must be "1")
PY_COLORS: 1
# Make tox-wrapped tools see color requests
TOX_TESTENV_PASSENV: >-
FORCE_COLOR
MYPY_FORCE_COLOR
NO_COLOR
PY_COLORS
PYTEST_THEME
PYTEST_THEME_MODE
# Suppress noisy pip warnings
PIP_DISABLE_PIP_VERSION_CHECK: 'true'
PIP_NO_PYTHON_VERSION_WARNING: 'true'
PIP_NO_WARN_SCRIPT_LOCATION: 'true'

# Disable the spinner, noise in GHA; TODO(webknjaz): Fix this upstream
# Must be "1".
TOX_PARALLEL_NO_SPINNER: 1


jobs:
test:
strategy:
Expand Down
File renamed without changes.
5 changes: 1 addition & 4 deletions README.rst
@@ -1,10 +1,7 @@
.. image:: https://img.shields.io/pypi/v/importlib_metadata.svg
:target: `PyPI link`_
:target: https://pypi.org/project/importlib_metadata

.. image:: https://img.shields.io/pypi/pyversions/importlib_metadata.svg
:target: `PyPI link`_

.. _PyPI link: https://pypi.org/project/importlib_metadata

.. image:: https://github.com/python/importlib_metadata/workflows/tests/badge.svg
:target: https://github.com/python/importlib_metadata/actions?query=workflow%3A%22tests%22
Expand Down
3 changes: 3 additions & 0 deletions mypy.ini
@@ -1,2 +1,5 @@
[mypy]
ignore_missing_imports = True
# required to support namespace packages
# https://github.com/python/mypy/issues/14057
explicit_package_bases = True

0 comments on commit dcaa2d9

Please sign in to comment.