auto-walrus 0.3.2__tar.gz → 0.3.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of auto-walrus might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: auto-walrus
3
- Version: 0.3.2
3
+ Version: 0.3.3
4
4
  Summary: Automatically apply the awesome walrus operator
5
5
  Project-URL: Homepage, https://github.com/MarcoGorelli/auto-walrus
6
6
  Project-URL: Bug Tracker, https://github.com/MarcoGorelli/auto-walrus
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "auto-walrus"
7
- version = "0.3.2"
7
+ version = "0.3.3"
8
8
  authors = [
9
9
  { name="Marco Gorelli", email="33491632+MarcoGorelli@users.noreply.github.com" },
10
10
  ]
@@ -17,6 +17,9 @@ classifiers = [
17
17
  "Operating System :: OS Independent",
18
18
  ]
19
19
 
20
+ [project.scripts]
21
+ auto-walrus = "auto_walrus:main"
22
+
20
23
  [project.urls]
21
24
  "Homepage" = "https://github.com/MarcoGorelli/auto-walrus"
22
25
  "Bug Tracker" = "https://github.com/MarcoGorelli/auto-walrus"
@@ -158,8 +158,7 @@ def project_dir(request: Any, tmp_path: pathlib.Path) -> ProjectDirT:
158
158
  # | └── c.py
159
159
  # └── pyproject.toml
160
160
 
161
- config_content = request.node.get_closest_marker("config_content")
162
- if config_content:
161
+ if (config_content := request.node.get_closest_marker("config_content")):
163
162
  (tmp_path / "pyproject.toml").write_text(config_content.args[0])
164
163
 
165
164
  python_files = [
File without changes
File without changes
File without changes
File without changes
File without changes