mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-07 15:28:28 +01:00
* dvcignore: Fix incorrect ignored output computation * dvcignore: Fixed unignored patterns Unignored patterns were shown in the dvc status output and caused Error. Also made a bit of a refactoring in `matches` and `ignore`. * dvcignore: Fix functional tests Not sure if I follow, but tests assume that unignored files should trigger `check-ignore`. What was the intention? * dvcignore: Fix stage.wdir being MagicMock * Use `is_ignored` instead of `check_ignore` 1. use is_ignored to judge DVC ignore status. 2. use check_ignore to show ignore patterns. * Solve tests fails * Add a new tests * Return to the old check_ignore logic. * Pass the pylint * Simplify ignore tests Co-authored-by: karajan1001 <[email protected]>