-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Showing
8 changed files
with
87 additions
and
38 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 |
---|---|---|
|
@@ -21,17 +21,10 @@ jobs: | |
with: | ||
ref: ${{ inputs.tag }} | ||
fetch-depth: 0 | ||
|
||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.7' | ||
- name: Setup Poetry | ||
uses: Gr1N/setup-poetry@v7 | ||
- name: Setup Cache | ||
uses: allanchain/[email protected] | ||
with: | ||
cache-key-prefix: build | ||
ensure-module: pylint | ||
- name: Setup Rye | ||
uses: eifinger/setup-rye@v3 | ||
- name: Install Dependencies | ||
run: rye sync | ||
- name: Build | ||
run: ./build.sh --deploy | ||
- name: Artifacts | ||
|
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 |
---|---|---|
|
@@ -10,21 +10,16 @@ jobs: | |
build: | ||
uses: ./.github/workflows/build.yaml | ||
|
||
pylint: | ||
ruff: | ||
runs-on: 'ubuntu-20.04' | ||
|
||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.7' | ||
- name: Setup Poetry | ||
uses: Gr1N/setup-poetry@v7 | ||
- name: Setup Cache | ||
uses: allanchain/[email protected] | ||
with: | ||
cache-key-prefix: pylint | ||
ensure-module: pylint | ||
- name: check | ||
run: poetry run pylint $(find src/ -name '*.py') | ||
- name: Setup Rye | ||
uses: eifinger/setup-rye@v3 | ||
- name: Install Dependencies | ||
run: rye sync | ||
- name: lint | ||
run: rye run ruff check src/ | ||
|
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.7.9 |
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,21 +1,21 @@ | ||
[tool.poetry] | ||
[project] | ||
name = "control-any-sim" | ||
version = "1.2.4" | ||
description = "This is a mod for The Sims 4 by Maxis which allows the player to control any NPC character while playing." | ||
authors = ["Jovan Gerodetti <[email protected]>"] | ||
license = "Apache-2.0" | ||
license = { file = "LICENSE" } | ||
readme = "README.md" | ||
requires-python = ">= 3.7" | ||
|
||
[tool.poetry.dependencies] | ||
python = "~3.7.2" | ||
[[authors]] | ||
name = "Jovan Gerodetti" | ||
email = "[email protected]>" | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
decompyle3 = "^3.9.0" | ||
pylint = "~2.6.0" | ||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" | ||
[tool.rye] | ||
dev-dependencies = [ | ||
"ruff~=0.4.7", | ||
"decompyle3~=3.9.1", | ||
"pylint~=2.6.0", | ||
] | ||
|
||
[tool.pylint.MESSAGES] | ||
disable="missing-docstring,broad-except,protected-access,R0903" |
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,49 @@ | ||
# generated by rye | ||
# use `rye lock` or `rye sync` to update this lockfile | ||
# | ||
# last locked with the following flags: | ||
# pre: false | ||
# features: ["dev"] | ||
# all-features: false | ||
# with-sources: false | ||
# generate-hashes: false | ||
|
||
-e file:. | ||
astroid==2.4.2 | ||
# via pylint | ||
click==8.1.7 | ||
# via decompyle3 | ||
# via spark-parser | ||
# via xdis | ||
decompyle3==3.9.1 | ||
importlib-metadata==6.7.0 | ||
# via click | ||
isort==5.11.5 | ||
# via pylint | ||
lazy-object-proxy==1.4.3 | ||
# via astroid | ||
mccabe==0.6.1 | ||
# via pylint | ||
pygments==2.17.2 | ||
# via xdis | ||
pylint==2.6.2 | ||
ruff==0.4.7 | ||
six==1.16.0 | ||
# via astroid | ||
# via xdis | ||
spark-parser==1.8.9 | ||
# via decompyle3 | ||
term-background==1.0.1 | ||
# via xdis | ||
toml==0.10.2 | ||
# via pylint | ||
typed-ast==1.4.3 | ||
# via astroid | ||
typing-extensions==4.7.1 | ||
# via importlib-metadata | ||
wrapt==1.16.0 | ||
# via astroid | ||
xdis==6.1.0 | ||
# via decompyle3 | ||
zipp==3.15.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,11 @@ | ||
# generated by rye | ||
# use `rye lock` or `rye sync` to update this lockfile | ||
# | ||
# last locked with the following flags: | ||
# pre: false | ||
# features: ["dev"] | ||
# all-features: false | ||
# with-sources: false | ||
# generate-hashes: false | ||
|
||
-e file:. |