forked from cruft/cruft
-
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.
Merge pull request #1 from i-dot-ai/EN-260/prep-fork
Prepare forked package scaffolding
- Loading branch information
Showing
11 changed files
with
9 additions
and
197 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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,10 +1,11 @@ | ||
[tool.poetry] | ||
name = "cruft" | ||
name = "cruft-iai" | ||
version = "0.0.0" | ||
description = "Allows you to maintain all the necessary cruft for packaging and building projects separate from the code you intentionally write. Built on-top of CookieCutter." | ||
authors = ["Timothy Crosley <[email protected]>", "Sambhav Kothari <[email protected]>"] | ||
license = "MIT" | ||
readme = "README.md" | ||
packages = [{ include = "cruft" }] | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.7" | ||
|
@@ -42,7 +43,7 @@ portray = { version = ">=1.7.0", python = ">=3.7.0,<4.0"} | |
vulture = ">=1.0" | ||
|
||
[tool.poetry.scripts] | ||
cruft = "cruft._cli:app" | ||
cruft-iai = "cruft._cli:app" | ||
|
||
[tool.portray.mkdocs.theme] | ||
favicon = "art/logo.png" | ||
|
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,13 +1,8 @@ | ||
#!/bin/bash | ||
set -euxo pipefail | ||
|
||
poetry run cruft check | ||
poetry run cruft-iai check | ||
poetry run mypy --ignore-missing-imports cruft/ | ||
poetry run isort --check --diff cruft/ tests/ | ||
poetry run black --check cruft/ tests/ | ||
poetry run flake8 cruft/ tests/ | ||
# Safety won't allow installations for tornado<=6.1 | ||
# but tornade 6.1 is the latest. | ||
# Run safety checks with warnings only | ||
poetry run safety check -i 39462 -i 40291 -i 47794 -i 50571 || true | ||
poetry run bandit -r cruft/ |
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