pintest-cli 0.3.5__tar.gz → 0.3.6__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.
Files changed (29) hide show
  1. {pintest_cli-0.3.5 → pintest_cli-0.3.6}/PKG-INFO +1 -1
  2. {pintest_cli-0.3.5 → pintest_cli-0.3.6}/pintest/cli.py +3 -17
  3. {pintest_cli-0.3.5 → pintest_cli-0.3.6}/pintest_cli.egg-info/PKG-INFO +1 -1
  4. {pintest_cli-0.3.5 → pintest_cli-0.3.6}/setup.py +1 -1
  5. {pintest_cli-0.3.5 → pintest_cli-0.3.6}/README.md +0 -0
  6. {pintest_cli-0.3.5 → pintest_cli-0.3.6}/pintest/__init__.py +0 -0
  7. {pintest_cli-0.3.5 → pintest_cli-0.3.6}/pintest/build_mapping_iterative.py +0 -0
  8. {pintest_cli-0.3.5 → pintest_cli-0.3.6}/pintest/cloud_mapping_db.py +0 -0
  9. {pintest_cli-0.3.5 → pintest_cli-0.3.6}/pintest/config.py +0 -0
  10. {pintest_cli-0.3.5 → pintest_cli-0.3.6}/pintest/coverage_mapper.py +0 -0
  11. {pintest_cli-0.3.5 → pintest_cli-0.3.6}/pintest/git_diff_parser.py +0 -0
  12. {pintest_cli-0.3.5 → pintest_cli-0.3.6}/pintest/post_commit_hook.py +0 -0
  13. {pintest_cli-0.3.5 → pintest_cli-0.3.6}/pintest/pre_commit_hook.py +0 -0
  14. {pintest_cli-0.3.5 → pintest_cli-0.3.6}/pintest/push_cache.py +0 -0
  15. {pintest_cli-0.3.5 → pintest_cli-0.3.6}/pintest/pytest_plugin.py +0 -0
  16. {pintest_cli-0.3.5 → pintest_cli-0.3.6}/pintest/range_set.py +0 -0
  17. {pintest_cli-0.3.5 → pintest_cli-0.3.6}/pintest/test_mapping_db_v2.py +0 -0
  18. {pintest_cli-0.3.5 → pintest_cli-0.3.6}/pintest/update_mapping.py +0 -0
  19. {pintest_cli-0.3.5 → pintest_cli-0.3.6}/pintest_cli.egg-info/SOURCES.txt +0 -0
  20. {pintest_cli-0.3.5 → pintest_cli-0.3.6}/pintest_cli.egg-info/dependency_links.txt +0 -0
  21. {pintest_cli-0.3.5 → pintest_cli-0.3.6}/pintest_cli.egg-info/entry_points.txt +0 -0
  22. {pintest_cli-0.3.5 → pintest_cli-0.3.6}/pintest_cli.egg-info/requires.txt +0 -0
  23. {pintest_cli-0.3.5 → pintest_cli-0.3.6}/pintest_cli.egg-info/top_level.txt +0 -0
  24. {pintest_cli-0.3.5 → pintest_cli-0.3.6}/setup.cfg +0 -0
  25. {pintest_cli-0.3.5 → pintest_cli-0.3.6}/tests/__init__.py +0 -0
  26. {pintest_cli-0.3.5 → pintest_cli-0.3.6}/tests/test_cli_e2e.py +0 -0
  27. {pintest_cli-0.3.5 → pintest_cli-0.3.6}/tests/test_git_diff_parser.py +0 -0
  28. {pintest_cli-0.3.5 → pintest_cli-0.3.6}/tests/test_new_feature.py +0 -0
  29. {pintest_cli-0.3.5 → pintest_cli-0.3.6}/tests/test_range_set.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pintest-cli
3
- Version: 0.3.5
3
+ Version: 0.3.6
4
4
  Summary: Run only the tests affected by your code changes.
5
5
  Author: Pintest Contributors
6
6
  Classifier: Development Status :: 3 - Alpha
@@ -288,10 +288,8 @@ def cmd_run(args):
288
288
  print("Exiting with error (run full test suite instead)", file=sys.stderr)
289
289
  sys.exit(1)
290
290
 
291
- # Remove '--' separator if present in pytest_args
292
- pytest_extra_args = args.pytest_args
293
- if hasattr(args, 'unknown_args') and args.unknown_args:
294
- pytest_extra_args.extend(args.unknown_args)
291
+ # Remove '--' separator if present in unknown_args
292
+ pytest_extra_args = getattr(args, 'unknown_args', [])
295
293
  if pytest_extra_args and pytest_extra_args[0] == '--':
296
294
  pytest_extra_args = pytest_extra_args[1:]
297
295
 
@@ -363,9 +361,7 @@ def cmd_build_mapping(args):
363
361
  # Use args.test_dir if explicitly provided and not the default "tests", otherwise use config
364
362
  final_test_dir = args.test_dir if args.test_dir != "tests" else default_test_dir
365
363
 
366
- pytest_args = getattr(args, 'pytest_args', [])
367
- if hasattr(args, 'unknown_args') and args.unknown_args:
368
- pytest_args.extend(args.unknown_args)
364
+ pytest_args = getattr(args, 'unknown_args', [])
369
365
  if pytest_args and pytest_args[0] == '--':
370
366
  pytest_args = pytest_args[1:]
371
367
 
@@ -658,11 +654,6 @@ Examples:
658
654
  action="store_true",
659
655
  help="Show detailed output"
660
656
  )
661
- run_parser.add_argument(
662
- "pytest_args",
663
- nargs=argparse.REMAINDER,
664
- help="Additional arguments to pass to pytest (after --)"
665
- )
666
657
  run_parser.set_defaults(func=cmd_run)
667
658
 
668
659
  # Update mapping command
@@ -732,11 +723,6 @@ Examples:
732
723
  action="store_true",
733
724
  help="Verbose output"
734
725
  )
735
- build_parser.add_argument(
736
- "pytest_args",
737
- nargs=argparse.REMAINDER,
738
- help="Additional arguments to pass to pytest (after --, e.g. -n auto -k foo)"
739
- )
740
726
  build_parser.set_defaults(func=cmd_build_mapping)
741
727
 
742
728
  # Login command
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pintest-cli
3
- Version: 0.3.5
3
+ Version: 0.3.6
4
4
  Summary: Run only the tests affected by your code changes.
5
5
  Author: Pintest Contributors
6
6
  Classifier: Development Status :: 3 - Alpha
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
5
5
 
6
6
  setup(
7
7
  name="pintest-cli",
8
- version="0.3.5",
8
+ version="0.3.6",
9
9
  description="Run only the tests affected by your code changes.",
10
10
  long_description=long_description,
11
11
  long_description_content_type="text/markdown",
File without changes
File without changes