Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork960
Commita774182
committed
Fix black exclusions to omit .gitignore dirs
This replaces "exclude" with "extend-exclude" in the blackconfiguration, so that it keeps its default exclusions, of whichall directories listed in .gitignore are automatically a part.That makes it possible to run "black ." to format just the filesthat should be formatted (git/ files, test/ files, and setup.py),while automatically omitting .venv/, .tox/, build/, and so on.This commit does not change how black is run yet, it just fixesthe way its exclusions are configured.1 parent1256b16 commita774182
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
0 commit comments
Comments
(0)