-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7dacfee
commit 1392ef7
Showing
10 changed files
with
247 additions
and
44 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,3 +1,14 @@ | ||
devel/downloads/packages/* | ||
toolchain/packages/* | ||
install_toolchain.sh | ||
|
||
# python generated files | ||
__pycache__/ | ||
*.py[oc] | ||
build/ | ||
dist/ | ||
wheels/ | ||
*.egg-info | ||
|
||
# venv | ||
.venv |
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 @@ | ||
3.12.2 |
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,3 @@ | ||
# check-updates | ||
|
||
Check updates for packages |
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 @@ | ||
../../packages.sh |
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,36 @@ | ||
[project] | ||
name = "check-updates" | ||
version = "0.1.0" | ||
description = "Check updates for packages" | ||
authors = [ | ||
{ name = "Adonis Ling", email = "[email protected]" } | ||
] | ||
dependencies = [ | ||
"packaging>=23.2", | ||
"requests>=2.31.0", | ||
] | ||
readme = "README.md" | ||
requires-python = ">= 3.8" | ||
|
||
[project.scripts] | ||
check_updates = "check_updates:main" | ||
|
||
[build-system] | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[tool.rye] | ||
managed = true | ||
dev-dependencies = [ | ||
"python-lsp-server[all]>=1.10.0", | ||
"pylsp-mypy>=0.6.8", | ||
"types-requests>=2.31.0.20240218", | ||
"python-lsp-ruff>=2.1.0", | ||
"python-lsp-isort>=0.1", | ||
] | ||
|
||
[tool.hatch.metadata] | ||
allow-direct-references = true | ||
|
||
[tool.hatch.build.targets.wheel] | ||
packages = ["src/check_updates"] |
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,113 @@ | ||
# generated by rye | ||
# use `rye lock` or `rye sync` to update this lockfile | ||
# | ||
# last locked with the following flags: | ||
# pre: false | ||
# features: [] | ||
# all-features: false | ||
# with-sources: false | ||
|
||
--trusted-host mirrors.aliyun.com | ||
-e file:. | ||
astroid==3.0.3 | ||
# via pylint | ||
attrs==23.2.0 | ||
# via cattrs | ||
# via lsprotocol | ||
autopep8==2.0.4 | ||
# via python-lsp-server | ||
cattrs==23.2.3 | ||
# via lsprotocol | ||
# via python-lsp-ruff | ||
certifi==2024.2.2 | ||
# via requests | ||
charset-normalizer==3.3.2 | ||
# via requests | ||
dill==0.3.8 | ||
# via pylint | ||
docstring-to-markdown==0.15 | ||
# via python-lsp-server | ||
flake8==7.0.0 | ||
# via python-lsp-server | ||
idna==3.6 | ||
# via requests | ||
importlib-metadata==7.0.1 | ||
# via yapf | ||
isort==5.13.2 | ||
# via pylint | ||
# via python-lsp-isort | ||
jedi==0.19.1 | ||
# via python-lsp-server | ||
lsprotocol==2023.0.1 | ||
# via python-lsp-ruff | ||
mccabe==0.7.0 | ||
# via flake8 | ||
# via pylint | ||
# via python-lsp-server | ||
mypy==1.8.0 | ||
# via pylsp-mypy | ||
mypy-extensions==1.0.0 | ||
# via mypy | ||
packaging==23.2 | ||
# via check-updates | ||
# via pytoolconfig | ||
parso==0.8.3 | ||
# via jedi | ||
platformdirs==4.2.0 | ||
# via pylint | ||
# via pytoolconfig | ||
# via yapf | ||
pluggy==1.4.0 | ||
# via python-lsp-server | ||
pycodestyle==2.11.1 | ||
# via autopep8 | ||
# via flake8 | ||
# via python-lsp-server | ||
pydocstyle==6.3.0 | ||
# via python-lsp-server | ||
pyflakes==3.2.0 | ||
# via flake8 | ||
# via python-lsp-server | ||
pylint==3.0.4 | ||
# via python-lsp-server | ||
pylsp-mypy==0.6.8 | ||
python-lsp-isort==0.1 | ||
python-lsp-jsonrpc==1.1.2 | ||
# via python-lsp-server | ||
python-lsp-ruff==2.1.0 | ||
python-lsp-server==1.10.0 | ||
# via pylsp-mypy | ||
# via python-lsp-isort | ||
# via python-lsp-ruff | ||
# via python-lsp-server | ||
pytoolconfig==1.3.1 | ||
# via pytoolconfig | ||
# via rope | ||
requests==2.31.0 | ||
# via check-updates | ||
rope==1.12.0 | ||
# via python-lsp-server | ||
ruff==0.2.2 | ||
# via python-lsp-ruff | ||
snowballstemmer==2.2.0 | ||
# via pydocstyle | ||
tomli==2.0.1 | ||
# via pylsp-mypy | ||
# via yapf | ||
tomlkit==0.12.4 | ||
# via pylint | ||
types-requests==2.31.0.20240218 | ||
typing-extensions==4.10.0 | ||
# via mypy | ||
ujson==5.9.0 | ||
# via python-lsp-jsonrpc | ||
# via python-lsp-server | ||
urllib3==2.2.1 | ||
# via requests | ||
# via types-requests | ||
whatthepatch==1.0.5 | ||
# via python-lsp-server | ||
yapf==0.40.2 | ||
# via python-lsp-server | ||
zipp==3.17.0 | ||
# via importlib-metadata |
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,23 @@ | ||
# generated by rye | ||
# use `rye lock` or `rye sync` to update this lockfile | ||
# | ||
# last locked with the following flags: | ||
# pre: false | ||
# features: [] | ||
# all-features: false | ||
# with-sources: false | ||
|
||
--trusted-host mirrors.aliyun.com | ||
-e file:. | ||
certifi==2024.2.2 | ||
# via requests | ||
charset-normalizer==3.3.2 | ||
# via requests | ||
idna==3.6 | ||
# via requests | ||
packaging==23.2 | ||
# via check-updates | ||
requests==2.31.0 | ||
# via check-updates | ||
urllib3==2.2.1 | ||
# via requests |
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,3 @@ | ||
from . import check_updates | ||
|
||
main = check_updates.main |
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,4 @@ | ||
import check_updates | ||
import sys | ||
|
||
sys.exit(check_updates.main()) |
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