mirror of
https://github.com/RGBCube/minearchy-bot
synced 2025-07-27 08:57:46 +00:00
Remove unneeded actions
This commit is contained in:
parent
6111101418
commit
ce0dce1f93
3 changed files with 1 additions and 94 deletions
27
.github/workflows/bandit.yml
vendored
27
.github/workflows/bandit.yml
vendored
|
@ -1,27 +0,0 @@
|
||||||
name: Bandit
|
|
||||||
|
|
||||||
on:
|
|
||||||
- pull_request
|
|
||||||
- push
|
|
||||||
|
|
||||||
env:
|
|
||||||
python-version: "3.10"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout Repository
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Set up Python ${{ env.python-version }}
|
|
||||||
uses: actions/setup-python@v4
|
|
||||||
with:
|
|
||||||
python-version: ${{ env.python-version }}
|
|
||||||
|
|
||||||
- name: Install Bandit
|
|
||||||
run: pip install -U pip bandit
|
|
||||||
|
|
||||||
- name: Run Bandit
|
|
||||||
run: bandit --recursive ./
|
|
29
.github/workflows/pyright.yml
vendored
29
.github/workflows/pyright.yml
vendored
|
@ -1,29 +0,0 @@
|
||||||
name: PyRight
|
|
||||||
|
|
||||||
on:
|
|
||||||
- pull_request
|
|
||||||
- push
|
|
||||||
|
|
||||||
env:
|
|
||||||
python-version: "3.10"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout Repository
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Set up Python ${{ env.python-version }}
|
|
||||||
uses: actions/setup-python@v4
|
|
||||||
with:
|
|
||||||
python-version: ${{ env.python-version }}
|
|
||||||
|
|
||||||
- name: Install PyRight & Dependencies
|
|
||||||
run: |
|
|
||||||
pip install -U pip pyright poetry
|
|
||||||
poetry install --only main
|
|
||||||
|
|
||||||
- name: Run PyRight
|
|
||||||
run: poetry run pyright ./
|
|
|
@ -12,11 +12,9 @@ mcstatus = "*"
|
||||||
uvloop = "*"
|
uvloop = "*"
|
||||||
|
|
||||||
[tool.poetry.dev-dependencies]
|
[tool.poetry.dev-dependencies]
|
||||||
black = "*"
|
|
||||||
flynt = "*"
|
flynt = "*"
|
||||||
isort = "*"
|
isort = "*"
|
||||||
unimport = "*"
|
unimport = "*"
|
||||||
pyright = "*"
|
|
||||||
|
|
||||||
[tool.poetry.scripts]
|
[tool.poetry.scripts]
|
||||||
bot = "minearchy_bot.__main__:main"
|
bot = "minearchy_bot.__main__:main"
|
||||||
|
@ -28,42 +26,7 @@ preview = true
|
||||||
[tool.isort]
|
[tool.isort]
|
||||||
py_version = 310
|
py_version = 310
|
||||||
add_imports = ["from __future__ import annotations"]
|
add_imports = ["from __future__ import annotations"]
|
||||||
line_length = 79
|
line_length = 100
|
||||||
profile = "black"
|
profile = "black"
|
||||||
combine_as_imports = true
|
combine_as_imports = true
|
||||||
combine_star = true
|
combine_star = true
|
||||||
|
|
||||||
[tool.pyright]
|
|
||||||
pythonVersion = "3.10"
|
|
||||||
typeCheckingMode = "basic"
|
|
||||||
strictListInference = true
|
|
||||||
strictDictionaryInference = true
|
|
||||||
strictSetInference = true
|
|
||||||
reportMissingModuleSource = "error"
|
|
||||||
reportAssertAlwaysTrue = "error"
|
|
||||||
reportInvalidStringEscapeSequence = "error"
|
|
||||||
reportInvalidTypeVarUse = "error"
|
|
||||||
reportSelfClsParameterName = "error"
|
|
||||||
reportUnsupportedDunderAll = "error"
|
|
||||||
reportUnusedExpression = "error"
|
|
||||||
reportWildcardImportFromLibrary = "error"
|
|
||||||
reportConstantRedefinition = "error"
|
|
||||||
reportDuplicateImport = "error"
|
|
||||||
reportImportCycles = "error"
|
|
||||||
reportIncompatibleVariableOverride = "error"
|
|
||||||
reportIncompleteStub = "error"
|
|
||||||
reportInconsistentConstructor = "error"
|
|
||||||
reportInvalidStubStatement = "error"
|
|
||||||
reportMatchNotExhaustive = "error"
|
|
||||||
reportMissingParameterType = "error"
|
|
||||||
reportTypeCommentUsage = "error"
|
|
||||||
reportUnnecessaryCast = "error"
|
|
||||||
reportUnnecessaryComparison = "error"
|
|
||||||
reportUnnecessaryIsInstance = "error"
|
|
||||||
reportUnusedClass = "error"
|
|
||||||
reportUnusedVariable = "error"
|
|
||||||
reportUntypedClassDecorator = "error"
|
|
||||||
reportUntypedNamedTuple = "error"
|
|
||||||
reportCallInDefaultInitializer = "error"
|
|
||||||
reportPropertyTypeMismatch = "error"
|
|
||||||
reportUnnecessaryTypeIgnoreComment = "error"
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue