-
Notifications
You must be signed in to change notification settings - Fork 320
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move lint/format-related changes out, remove marker from generate_cla…
…sses tests
- Loading branch information
Showing
4 changed files
with
45 additions
and
7 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
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,21 @@ | ||
import os | ||
|
||
try: | ||
import isort | ||
|
||
print(f"isort version: {isort.__version__}") | ||
except ModuleNotFoundError: | ||
print("isort not installed\n\tInstall using pip install isort") | ||
|
||
try: | ||
import black | ||
|
||
print(f"black version: {black.__version__}") | ||
except ModuleNotFoundError: | ||
print("black not installed\n\tInstall using pip install black") | ||
|
||
print("running isort...") | ||
os.system("isort -v ../flopy") | ||
|
||
print("running black...") | ||
os.system("black -v ../flopy") |