| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| config | ||
| console | ||
| fixtures | ||
| installation | ||
| json | ||
| masonry | ||
| mixology | ||
| packages | ||
| puzzle | ||
| repositories | ||
| semver | ||
| spdx | ||
| utils | ||
| version | ||
| __init__.py | ||
| conftest.py | ||
| helpers.py | ||
| test_factory.py |
* This PR impliments the feature request #784. When a folder is explicit defined in `pyproject.toml` as excluded, all nested data, including subfolder, are excluded. It is no longer neccessary to use the glob `folder/**/*` * use `Path` instead of `os.path.join` to create string for globbing * try to fix linting error * create glob pattern string by concatenating and not using Path * using `os.path.isdir()`` for checking of explicit excluded name is a folder, because pathlib's `is_dir()` raises in exception under windows of name contains globing characters * Remove nested data when wildcards where used. Steps to do this are: 1. expand any wildcard used 2. if expanded path is a folder append **/* and expand again * fix linting * only glob a second time if path is dir * implement @sdispater 's suggestion for better readability * fix glob for windows? * On Windows, testing if a path with a glob is a directory will raise an OSError * pathlibs glob function doesn't return the correct case (https://bugs.python.org/issue26655). So switching back to glob.glob() * removing obsolete imports
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| config | Loading commit data... | |
| console | Loading commit data... | |
| fixtures | Loading commit data... | |
| installation | Loading commit data... | |
| json | Loading commit data... | |
| masonry | Loading commit data... | |
| mixology | Loading commit data... | |
| packages | Loading commit data... | |
| puzzle | Loading commit data... | |
| repositories | Loading commit data... | |
| semver | Loading commit data... | |
| spdx | Loading commit data... | |
| utils | Loading commit data... | |
| version | Loading commit data... | |
| __init__.py | Loading commit data... | |
| conftest.py | Loading commit data... | |
| helpers.py | Loading commit data... | |
| test_factory.py | Loading commit data... |