-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding new features in tox.ini (#1457)
The scripts/fmt.sh script has been replaced with a new tox command: tox -e fmt. It behaves exactly the same way, except that it's executed in a venv. Another new command, tox -e style, also checks for formatting mistakes. It returns a code error, if an error has been found in one of the files. It does not edit any files. It would be suitable for a CI. The file Makefile has been modified so that "make format" still works.
- Loading branch information
Showing
3 changed files
with
26 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,4 +44,4 @@ test: | |
# Format code | ||
.PHONY: format | ||
format: | ||
./scripts/fmt.sh | ||
tox -e fmt |
This file was deleted.
Oops, something went wrong.
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