ppqs 2.6.0__tar.gz → 2.6.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ppqs
3
- Version: 2.6.0
3
+ Version: 2.6.1
4
4
  Summary: Python project quick scripts
5
5
  Author-email: Karl Wette <karl.wette@anu.edu.au>
6
6
  License-Expression: MIT
@@ -52,6 +52,7 @@ convention = "google"
52
52
 
53
53
  [tool.pytest.ini_options]
54
54
  minversion = "6.0"
55
+ pythonpath = ["src"]
55
56
  addopts = "--cov=py_proj_quick_scripts --cov-report=term-missing --cov-fail-under=100"
56
57
  testpaths = ["test"]
57
58
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ppqs
3
- Version: 2.6.0
3
+ Version: 2.6.1
4
4
  Summary: Python project quick scripts
5
5
  Author-email: Karl Wette <karl.wette@anu.edu.au>
6
6
  License-Expression: MIT
@@ -19,7 +19,7 @@ else: # pragma: no cover
19
19
  import tomli as tomllib
20
20
 
21
21
  __author__ = "Karl Wette"
22
- __version__ = "2.6.0"
22
+ __version__ = "2.6.1"
23
23
 
24
24
 
25
25
  class MissingPyProjectError(Exception):
@@ -257,7 +257,9 @@ def run_script(pyproject_path, scripts, script_name, argv, cwd, has_been_run):
257
257
  if "*" in arg.parts[-1]:
258
258
 
259
259
  # Expand wildcards in last path element
260
- cmd.extend(sorted(glob.glob(str(arg), recursive=False)))
260
+ cmd.extend(
261
+ sorted(glob.glob(str(arg), root_dir=cwd, recursive=False))
262
+ )
261
263
 
262
264
  else:
263
265
  cmd.append(str(arg))
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes