Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#91)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Jul 25, 2023
1 parent 177ddf9 commit ac47dea
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.0.278"
rev: "v0.0.280"
hooks:
- id: ruff
exclude: src/pyproject_api/_backend.py
Expand Down
23 changes: 8 additions & 15 deletions tests/demo_pkg_inline/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
logic: f"def do():\n print('greetings from {name}')",
}
metadata = {
metadata_file: """
metadata_file: f"""
Metadata-Version: 2.1
Name: {}
Version: {}
Name: {pkg_name}
Version: {version}
Summary: UNKNOWN
Home-page: UNKNOWN
Author: UNKNOWN
Expand All @@ -36,20 +36,13 @@
Platform: UNKNOWN
UNKNOWN
""".format(
pkg_name,
version,
),
wheel: """
""",
wheel: f"""
Wheel-Version: 1.0
Generator: {}-{}
Generator: {name}-{version}
Root-Is-Purelib: true
Tag: py{}-none-any
""".format(
name,
version,
sys.version_info[0],
),
Tag: py{sys.version_info[0]}-none-any
""",
f"{dist_info}/top_level.txt": name,
record: """
{0}/__init__.py,,
Expand Down

0 comments on commit ac47dea

Please sign in to comment.