diff --git a/.coveragerc b/.coveragerc index 8d6c4e4..25caadd 100644 --- a/.coveragerc +++ b/.coveragerc @@ -11,3 +11,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 2df9309..b302f62 100644 --- a/README.rst +++ b/README.rst @@ -14,7 +14,7 @@ .. image:: https://readthedocs.org/projects/importlib-resources/badge/?version=latest :target: https://importlib-resources.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 .. image:: https://tidelift.com/badges/package/pypi/importlib-resources 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 7d8f10a..017cdc4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -15,19 +15,11 @@ project_urls = Documentation = https://importlib-resources.readthedocs.io/ [options] -packages = find_namespace: include_package_data = true python_requires = >=3.8 install_requires = zipp >= 3.1.0; python_version < '3.10' -[options.packages.find] -exclude = - build* - dist* - docs* - tests* - [options.extras_require] testing = # upstream