Skip to content

Parameter parser helper to replace eval of env variable (#89) - #91

Open
abitrolly wants to merge 1 commit into
ionelmc:masterfrom
abitrolly:paramparser
Open

Parameter parser helper to replace eval of env variable (#89)#91
abitrolly wants to merge 1 commit into
ionelmc:masterfrom
abitrolly:paramparser

Conversation

@abitrolly

Copy link
Copy Markdown
Contributor

@ionelmc I created param parser that allows to split PYTHONHUNTER line down to separate arguments. Maybe it can be used to replace eval mentioned in #89.

The output of the script are multipe PYTHONHUNTER lines followed by parsed arguments.

$ python paramparser.py 

  []
stdlib=False
  stdlib=False
~Q(kind="line"),~Q(module_in=["six","pkg_resources"]),~Q(filename=""),stdlib=False
  ~Q(kind="line")
  ~Q(module_in=["six","pkg_resources"])
  ~Q(filename="")
  stdlib=False
stdlib=False,Q(filename_contains='venv')
  stdlib=False
  Q(filename_contains='venv')

@codecov

codecov Bot commented Sep 1, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 38 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.65%. Comparing base (828ee62) to head (6280aef).
⚠️ Report is 252 commits behind head on master.

Files with missing lines Patch % Lines
src/hunter/paramparser.py 0.00% 38 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #91      +/-   ##
==========================================
- Coverage   78.68%   77.65%   -1.03%     
==========================================
  Files          21       22       +1     
  Lines        2876     2914      +38     
  Branches      389      401      +12     
==========================================
  Hits         2263     2263              
- Misses        543      581      +38     
  Partials       70       70              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant