-
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.
Merge pull request #20 from baszalmstra/refactor/remove_self_type
remove self type
- Loading branch information
Showing
9 changed files
with
311 additions
and
60 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# name: Run updater that will check for conda-forge packages | ||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
|
||
jobs: | ||
run_tests: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: prefix-dev/[email protected] | ||
with: | ||
pixi-version: "latest" | ||
environments: lint | ||
|
||
- name: type check | ||
run: | | ||
pixi run type-check |
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 |
---|---|---|
|
@@ -9,11 +9,13 @@ version = "0.1.2" | |
readme = "README.md" | ||
authors = [{ name = "Nichita Morcotilo", email = "[email protected]" }] | ||
license = { file = "LICENSE.txt" } | ||
|
||
requires-python = ">=3.8" | ||
dependencies = [ | ||
"typing-extensions>=4.12,<5" | ||
] | ||
requires-python = ">=3.10" | ||
|
||
[tool.ruff] | ||
target-version = "py38" | ||
target-version = "py310" | ||
line-length = 100 | ||
|
||
[tool.ruff.format] | ||
|
@@ -30,6 +32,7 @@ ignore = [ | |
"T201", # https://docs.astral.sh/ruff/rules/print/ | ||
"A003", # https://docs.astral.sh/ruff/rules/builtin-attribute-shadowing/ | ||
"PTH", # We dont want to change the API to pathlib just yet | ||
"ANN101" # Deprecated | ||
] | ||
exclude = [ | ||
"src/rattler_build_conda_compat/lint.py", | ||
|
@@ -43,3 +46,7 @@ exclude = [ | |
[tool.pyright] | ||
venvPath = ".pixi/envs" | ||
venv = "default" | ||
|
||
[tool.mypy] | ||
python_version = "3.10" | ||
allow_redefinition = true |
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,3 +1,5 @@ | ||
# mypy: ignore-errors | ||
|
||
import re | ||
|
||
from inspect import cleandoc | ||
|
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