diff --git a/.coveragerc b/.coveragerc index 0287948..35b98b1 100644 --- a/.coveragerc +++ b/.coveragerc @@ -7,3 +7,7 @@ disable_warnings = [report] show_missing = True +exclude_also = + # jaraco/skeleton#97 + @overload + if TYPE_CHECKING: diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 053c728..6848906 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -7,6 +7,6 @@ python: # required boilerplate readthedocs/readthedocs.org#10401 build: - os: ubuntu-22.04 + os: ubuntu-lts-latest tools: - python: "3" + python: latest diff --git a/README.rst b/README.rst index 6f85cdd..1decb8a 100644 --- a/README.rst +++ b/README.rst @@ -14,7 +14,7 @@ .. .. image:: https://readthedocs.org/projects/PROJECT_RTD/badge/?version=latest .. :target: https://PROJECT_RTD.readthedocs.io/en/latest/?badge=latest -.. image:: https://img.shields.io/badge/skeleton-2023-informational +.. image:: https://img.shields.io/badge/skeleton-2024-informational :target: https://blog.jaraco.com/skeleton Compatibility shim to ease adoption of `importlib_metadata 3.6 `_. Supplies forward-compatibility of "selectable" entry points even on older versions of ``importlib_metadata`` and ``importlib.metadata``, and avoids usage that triggers `deprecation warnings `_. diff --git a/ruff.toml b/ruff.toml index 795cca1..e61ca8b 100644 --- a/ruff.toml +++ b/ruff.toml @@ -18,5 +18,7 @@ ignore = [ ] [format] +# Enable preview, required for quote-style = "preserve" +preview = true # https://docs.astral.sh/ruff/settings/#format-quote-style quote-style = "preserve" diff --git a/setup.cfg b/setup.cfg index 4537ba1..3acb48f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -12,19 +12,11 @@ classifiers = Programming Language :: Python :: 3 [options] -packages = find: include_package_data = true python_requires = >=3.8 install_requires = importlib_metadata; python_version < "3.8" -[options.packages.find] -exclude = - build* - dist* - docs* - tests* - [options.extras_require] testing = # upstream