generated from oracle/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The requirements-tools project, while nice, has been abandoned by Yelp for ages. A good approach for applications is pipenv, which can lock dependencies in the same way requirements-tools. Let's switch to this. By managing pre-commit in the pipenv development environment, we can ensure that the hooks run the same locally as they do in CI as well. Signed-off-by: Stephen Brennan <[email protected]>
- Loading branch information
Showing
11 changed files
with
849 additions
and
61 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,7 @@ jobs: | |
run: | | ||
sudo apt-get update | ||
sudo apt-get install gzip bzip2 xz-utils zstd tar rpm cpio dpkg make | ||
pip install pipenv | ||
make venv | ||
- name: Checkout gh-pages and setup git | ||
run: | | ||
|
@@ -36,12 +37,12 @@ jobs: | |
git config --global user.email '[email protected]' | ||
- name: Fetch updates and build page | ||
run: | | ||
venv/bin/python -m kconfigs.main config.ini \ | ||
.venv/bin/python -m kconfigs.main config.ini \ | ||
--state ../gh-pages/state.json \ | ||
--output-dir ../gh-pages/out | ||
venv/bin/python -m kconfigs.cleanup config.ini \ | ||
.venv/bin/python -m kconfigs.cleanup config.ini \ | ||
--input-dir ../gh-pages/out | ||
venv/bin/python -m kconfigs.analyzer config.ini \ | ||
.venv/bin/python -m kconfigs.analyzer config.ini \ | ||
--input-dir ../gh-pages/out \ | ||
--output-file ../gh-pages/docs/summary.json | ||
cp index.html tux-sm.png ../gh-pages/docs/ | ||
|
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,18 @@ | ||
[[source]] | ||
url = "https://pypi.org/simple" | ||
verify_ssl = true | ||
name = "pypi" | ||
|
||
[packages] | ||
aiohttp = "*" | ||
aiofiles = "*" | ||
aiosqlite = "*" | ||
|
||
[dev-packages] | ||
mypy = "*" | ||
ptpython = "*" | ||
types-aiofiles = "*" | ||
pre-commit = "*" | ||
|
||
[requires] | ||
python_version = "3.13" |
Large diffs are not rendered by default.
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.