Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #495

Merged
merged 3 commits into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
33 changes: 17 additions & 16 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,17 @@ requires = [
name = "apig-wsgi"
version = "2.18.0"
description = "Wrap a WSGI application in an AWS Lambda handler function for running on API Gateway or an ALB."
readme = {file = "README.rst", content-type = "text/x-rst"}
readme = { file = "README.rst", content-type = "text/x-rst" }
keywords = [
"API Gateway",
"APIG",
"AWS",
"Lambda",
]
license = {text = "MIT"}
authors = [{name = "Adam Johnson", email = "[email protected]"}]
license = { text = "MIT" }
authors = [
{ name = "Adam Johnson", email = "[email protected]" },
]
requires-python = ">=3.8"
classifiers = [
"Development Status :: 5 - Production/Stable",
Expand All @@ -33,23 +35,22 @@ classifiers = [
"Typing :: Typed",
]
dependencies = [
'typing-extensions; python_version < "3.8"',
"typing-extensions; python_version<'3.8'",
]
[project.urls]
Changelog = "https://github.com/adamchainz/apig-wsgi/blob/main/CHANGELOG.rst"
Funding = "https://adamj.eu/books/"
Repository = "https://github.com/adamchainz/apig-wsgi"
urls.Changelog = "https://github.com/adamchainz/apig-wsgi/blob/main/CHANGELOG.rst"
urls.Funding = "https://adamj.eu/books/"
urls.Repository = "https://github.com/adamchainz/apig-wsgi"

[tool.isort]
add_imports = [
"from __future__ import annotations"
"from __future__ import annotations",
]
force_single_line = true
profile = "black"
src_paths = [
".",
"example/app",
"src",
".",
"example/app",
"src",
]

[tool.pytest.ini_options]
Expand All @@ -62,14 +63,14 @@ addopts = """\
branch = true
parallel = true
source = [
"apig_wsgi",
"tests",
"apig_wsgi",
"tests",
]

[tool.coverage.paths]
source = [
"src",
".tox/**/site-packages",
"src",
".tox/**/site-packages",
]

[tool.coverage.report]
Expand Down