forked from nickdiego/compiledb
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for stdout output using Click.File
- This approach relies on Click==7.0, which brings a fix to the Click.File annotation (previously file modes "w" and "a" were assuming <stdin> as the default value, which is fixed to <stdout> now) - Using the "a+" to read and write a file in the same stream, making the code cleaner - There is still a problem with the stdout check related to tests, but it can be ignored for now - Update requirements to match the new Click version Signed-off-by: Agnaldo Junior <[email protected]>
- Loading branch information
Showing
3 changed files
with
31 additions
and
24 deletions.
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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
attrs==18.1.0 | ||
bashlex==0.12 | ||
click==6.7 | ||
click==7.0 | ||
enum34==1.1.6 | ||
more-itertools==4.1.0 | ||
pluggy==0.6.0 | ||
|