Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#507)
Browse files Browse the repository at this point in the history
<!--pre-commit.ci start-->
updates:
- [github.com/tox-dev/pyproject-fmt: 1.8.0 →
2.0.4](tox-dev/pyproject-fmt@1.8.0...2.0.4)
<!--pre-commit.ci end-->

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored May 15, 2024
1 parent 3fb9677 commit f1d3a2e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
20 changes: 11 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"
Expand All @@ -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]
Expand Down

0 comments on commit f1d3a2e

Please sign in to comment.