From f1d3a2e456b31521e2da8baf0c6712fd7da8f277 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 15 May 2024 11:34:26 +0000 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#507) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/tox-dev/pyproject-fmt: 1.8.0 → 2.0.4](https://github.com/tox-dev/pyproject-fmt/compare/1.8.0...2.0.4) --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- pyproject.toml | 20 +++++++++++--------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 37d2b53..2678341 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/tox-dev/pyproject-fmt - rev: 1.8.0 + rev: 2.0.4 hooks: - id: pyproject-fmt - repo: https://github.com/tox-dev/tox-ini-fmt diff --git a/pyproject.toml b/pyproject.toml index 6f372d2..61cb79c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,14 +8,16 @@ requires = [ name = "ec2-metadata" version = "2.13.0" description = "An easy interface to query the EC2 metadata API, with caching." -readme = {file = "README.rst", content-type = "text/x-rst"} +readme = { file = "README.rst", content-type = "text/x-rst" } keywords = [ "AWS", "EC2", "metadata", ] -license = {text = "MIT"} -authors = [{name = "Adam Johnson", email = "me@adamj.eu"}] +license = { text = "MIT" } +authors = [ + { name = "Adam Johnson", email = "me@adamj.eu" }, +] requires-python = ">=3.8" classifiers = [ "Development Status :: 5 - Production/Stable", @@ -34,11 +36,11 @@ classifiers = [ dependencies = [ "requests", ] -urls = {Changelog = "https://github.com/adamchainz/ec2-metadata/blob/main/CHANGELOG.rst",Funding = "https://adamj.eu/books/",Repository = "https://github.com/adamchainz/ec2-metadata"} +urls = { Changelog = "https://github.com/adamchainz/ec2-metadata/blob/main/CHANGELOG.rst", Funding = "https://adamj.eu/books/", Repository = "https://github.com/adamchainz/ec2-metadata" } [tool.isort] add_imports = [ - "from __future__ import annotations" + "from __future__ import annotations", ] force_single_line = true profile = "black" @@ -53,14 +55,14 @@ addopts = """\ branch = true parallel = true source = [ - "ec2_metadata", - "tests", + "ec2_metadata", + "tests", ] [tool.coverage.paths] source = [ - "src", - ".tox/**/site-packages", + "src", + ".tox/**/site-packages", ] [tool.coverage.report]