Skip to content

Commit

Permalink
fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Sep 30, 2023
1 parent 99f1220 commit 7f12d6f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/actions/pkg-install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ runs:
- name: Install package (wheel)
working-directory: pypi/
run: |
# TODO: reset env / conside add as conda
# TODO: reset env / consider add as conda
pip install *.whl ${{ inputs.pip-flags }}
python -c "import ${{ inputs.import-name }} as pkg; print(f'version: {pkg.__version__}')"
pip list
Expand All @@ -46,7 +46,7 @@ runs:
- name: Install package (archive)
working-directory: pypi/
run: |
# TODO: reset env / conside add as conda
# TODO: reset env / consider add as conda
pip install *.tar.gz ${{ inputs.pip-flags }}
python -c "import ${{ inputs.import-name }} as pkg; print(f'version: {pkg.__version__}')"
pip list
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/find-unused-caches.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Requirements for running equally named scrit,
# Requirements for running equally named script,
# having it in extra file to prevent version discrepancy if hardcoded in workflow

fire
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ repos:
hooks:
- id: codespell
additional_dependencies: [tomli]
args: ["--write-changes"] # uncomment if you want to get automatic fixing
#args: ["--write-changes"] # uncomment if you want to get automatic fixing

- repo: https://github.com/psf/black
rev: 23.7.0
Expand Down
25 changes: 12 additions & 13 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ norecursedirs = [
"build",
"docs",
]

addopts = [
"--strict-markers",
"--doctest-modules",
Expand All @@ -39,28 +38,28 @@ exclude_lines = [
"pragma: no cover",
"pass",
]

[tool.coverage.run]
parallel = true
concurrency = "thread"
relative_files = true


[tool.codespell]
# Todo: enable also python files in a next step
skip = '*.py'
quiet-level = 3
# comma separated list of words; waiting for:
# https://github.com/codespell-project/codespell/issues/2839#issuecomment-1731601603
# also adding links until they ignored by its: nature
# https://github.com/codespell-project/codespell/issues/2243#issuecomment-1732019960
ignore-words-list = "te, compiletime"


[tool.black]
# https://github.com/psf/black
line-length = 120
exclude = "(.eggs|.git|.hg|.mypy_cache|.venv|_build|buck-out|build|dist)"

[tool.isort]
known_first_party = [
"lightning_utilities",
"tests"
]
skip_glob = []
profile = "black"
line_length = 120
order_by_type = false
multi_line_output = 3
include_trailing_comma = true

[tool.mypy]
files = [
Expand Down

0 comments on commit 7f12d6f

Please sign in to comment.