Skip to content

Commit

Permalink
chore(python-deps): update dependency pyright to v1.1.387 for dev (#183)
Browse files Browse the repository at this point in the history
* chore(python-deps): update dependency pyright to v1.1.387 for dev

* chore: Update extras used for pyright to make node installation more reliable

* chore: Remove unnecessary type checker ignore comment

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Felt, Nicholas <nicholas.felt@tektronix.com>
  • Loading branch information
renovate[bot] and nfelt14 authored Nov 4, 2024
1 parent 0417bd5 commit d95f4d4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion actions/update_development_dependencies/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import yaml

from pypi_simple import PyPISimple
from yamlfix import fix_files # pyright: ignore[reportUnknownVariableType]
from yamlfix import fix_files

_ENV_VAR_TRUE_VALUES = {"1", "true", "yes"}

Expand Down
10 changes: 9 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ poetry-plugin-export = "1.8.0"
poetry-pre-commit-plugin = "^0.1.2"
pre-commit = "4.0.1"
pylint = "3.3.1"
pyright = "1.1.385"
pyright = {extras = ["nodejs"], version = "^1.1.387"}
tox = "^4.18.0"
tox-gh-actions = "^3.2.0"

Expand Down Expand Up @@ -303,6 +303,14 @@ commands =
[testenv:doctests]
commands =
pytest -v -k "test_docs" --showlocals --junitxml={tox_root}/.results_{envname}/results.xml --self-contained-html --html={tox_root}/.results_{envname}/results.html
[testenv:export-reqs]
commands =
poetry export --without-hashes --without-urls --all-extras --only=actions-create_unique_testpypi_version --output=actions/create_unique_testpypi_version/requirements.txt
poetry export --without-hashes --without-urls --all-extras --only=actions-find_unreleased_changelog_items --output=actions/find_unreleased_changelog_items/requirements.txt
poetry export --without-hashes --without-urls --all-extras --only=actions-update_development_dependencies --output=actions/update_development_dependencies/requirements.txt
- pre-commit run -a requirements-txt-fixer
- pre-commit run -a end-of-file-fixer
"""

[tool.yamlfix]
Expand Down

0 comments on commit d95f4d4

Please sign in to comment.