generated from chrissimpkins/py-skeleton
-
-
Notifications
You must be signed in to change notification settings - Fork 5
Add --git argument with 7 inputs #48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
alerque
wants to merge
16
commits into
source-foundry:master
Choose a base branch
from
alerque:git-diff
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
4f1535c
Refactor exclusive argument check using argparse's builtin functionality
alerque fda7c19
Fix bug, wrong variable being tested
alerque ce9ab98
Add --git argument with 7 inputs
alerque ac39bd8
Catch parameters from --git and stuff them in as pre/post file args
alerque 6f67b99
Split argument processing into two steps
alerque efbbeaf
Allow usage on named pipes, not just ordinary files
alerque e69f9ec
[main] formatting
chrissimpkins c7ce54f
[main] update help string to indicate seven arg positions for --git flag
chrissimpkins c551498
fix stderr unit test for message that changed with transition to new …
chrissimpkins ac242bd
Document usage as a git-driver in README
alerque e44e90d
add support for os.path.exists when new --git flag is used
chrissimpkins 3a1f283
[README.md] use wildcards in gitattribute configuration with `--git` …
chrissimpkins 534eef6
Document usage as a git-driver in README
alerque 5348447
add support for os.path.exists when new --git flag is used
chrissimpkins 4624544
[README.md] use wildcards in gitattribute configuration with `--git` …
chrissimpkins 81b1dfc
update README
chrissimpkins File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import os | ||
import sys | ||
|
||
import pytest | ||
|
||
from fdiff.utils import path_exists | ||
|
||
if sys.platform.startswith("win"): | ||
pytest.skip("skipping Unix only tests", allow_module_level=True) | ||
|
||
|
||
def test_path_exists_default_dirpath_toggle_succeeds(): | ||
assert path_exists("/dev/null", include_dir_paths=True) is True |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.