Skip to content

Commit

Permalink
Add link to usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed May 29, 2023
1 parent 211804c commit b1ab852
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jaraco/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ class Check:
"""
Check if an environment variable meets a certain expectation.
See https://github.com/jaraco/pip-run/blob/7688eae0f6e2437ad233eafcf6c807923065bf18/pip_run/commands.py#L79
for example usage.
>>> setenv = getfixture('monkeypatch').setenv
>>> check = Check('SOME_VAR', expect='setting1')
>>> bool(check)
Expand Down

0 comments on commit b1ab852

Please sign in to comment.