-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update development tools to a common baseline
Common baseline provides tox, justfile, and check scripts.
- Loading branch information
Showing
6 changed files
with
143 additions
and
66 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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
[flake8] | ||
select = B, E, F, W, B9, ISC | ||
ignore = | ||
B902 | ||
E203 | ||
E402 | ||
E501 | ||
E704 | ||
E711 | ||
E712 | ||
E722 | ||
W503 | ||
W504 | ||
E712,E711 | ||
B902 | ||
max-line-length = 120 | ||
min_python_version = 3.11 | ||
exclude = src/dominate-stubs | ||
min_python_version = 3.11.0 |
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,16 @@ | ||
#!/usr/bin/env python3 | ||
import pathlib | ||
import subprocess | ||
import sys | ||
|
||
|
||
def check_minimal(): | ||
"""Check if the package can be imported.""" | ||
project = pathlib.Path(__file__).parent.name | ||
print(f"Checking minimal for project: {project}") | ||
|
||
subprocess.run([sys.executable, "-c", f"import {project}"], check=True) | ||
|
||
|
||
if __name__ == "__main__": | ||
check_minimal() |
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