Skip to content

Commit

Permalink
refractor
Browse files Browse the repository at this point in the history
  • Loading branch information
bitranox committed Aug 15, 2020
1 parent 8414f5a commit 663f04c
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ following modules will be automatically installed :
## Project Requirements
attrs
click
cli_exit_tools @ git+https://github.com/bitranox/cli_exit_tools.git
cli_exit_tools
wcmatch
Acknowledgements
Expand Down
3 changes: 3 additions & 0 deletions tests/target_expected/.test_gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
test__pycache__
*.py[cod]
.test_venv/
Empty file.
1 change: 1 addition & 0 deletions tests/target_expected/not_excluded/.test_gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
excluded/
Empty file.
Empty file.
2 changes: 1 addition & 1 deletion tests/test_pytest.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def doctest_examples():
>>> path_target_dir = path_test_dir / "target"
>>> ignore_parser = igittigitt.IgnoreParser()
>>> ignore_parser.parse_rule_files(base_dir=path_source_dir, filename=".test_gitignore")
>>> shutil.copytree(path_source_dir, path_target_dir, ignore=ignore_parser.shutil_ignore)
>>> discard = shutil.copytree(path_source_dir, path_target_dir, ignore=ignore_parser.shutil_ignore)
# test_shutil_ignore_function_Example}}}
# Teardown
Expand Down

0 comments on commit 663f04c

Please sign in to comment.