-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Raise ConfigError for missing newsfragment directory (#298)
* Treat a missing newsfragment directory as if it is empty #85 * OSError for py2 * add missing sys import * Add test docstrings * Raise a ConfigError when the newsfragment directory is missing * Update src/towncrier/newsfragments/85.bugfix.rst Co-authored-by: Adi Roiban <adiroiban@gmail.com> * reduce unneeded test diff * remove probably copy/paste error comment * Update src/towncrier/test/test_build.py Co-authored-by: Adi Roiban <adiroiban@gmail.com> Co-authored-by: Adi Roiban <adiroiban@gmail.com>
- Loading branch information
Showing
3 changed files
with
46 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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 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 @@ | ||
A configuration error is triggered when the newsfragment files couldn't be discovered. |
This file contains 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