pyright-action

GitHub Action for pyright

MIT License

Stars
74
Committers
3

Bot releases are visible (Hide)

pyright-action - v2.3.2 Latest Release

Published by jakebailey about 2 months ago

  • Support explicit "latest" version (f6f691c)
  • Update deps (c1dc810)
  • Update node to latest runner version (0b5777b)
  • Update deps (66bf589)
  • Fix lint fmt (222ed7c)
  • Fix compile for now (fa845b7)
  • Update deps (d7583ac)
  • Update vitest (64b81cd)
  • Update deps (a084e58)
  • Update deps (cbcd89c)
  • Update pnpm/action-setup action to v4 (#118) (fc66f54)
  • Update github actions (#111) (54309fd)
pyright-action - v2.3.1

Published by jakebailey 6 months ago

  • More permissively parse version (f6c9e3a)
  • Update deps (5859d5b)
  • Fix missing snapshot changes (bf320e1)
  • Downgrade semver to only have one version in output (4d9d35d)
  • Be stricter about passing around SemVers (5b6fc84)
pyright-action - v2.3.0

Published by jakebailey 6 months ago

This version adds support for version: PATH; this configures pyright-action to use pyright from $PATH, which may be more convenient if you are already installing pyright via something like the PyPI package. For example:

- run: |
    python -m venv .venv
    source .venv/bin/activate
    pip install -r dev-requirements.txt # includes pyright
- run: echo "$PWD/.venv/bin" >> $GITHUB_PATH

- uses: jakebailey/pyright-action@v2
  with:
    version: PATH

 

  • Add "version: PATH" to pull pyright from $PATH (#107) (32e0647)
  • Update github actions (#101) (a9434fd)
  • Fix lint (707ce89)
  • Update deps (bccc3d9)
  • Add missing tests for annotate true/false (8b68a7a)
  • Update deps (ab0f126)
  • Update cache task (fc12414)
  • Fix node version (2ed5847)
  • Fix format (1fd21a9)
  • Switch to pnpm (12ac4be)
  • Revert dist change (f6e3b60)
  • Per step (41399fd)
  • set defaults (61508a3)
  • Pull workflow setup into shared composite action (a3a6fba)
  • Update deps (55d1f64)
pyright-action - v2.2.1

Published by jakebailey 8 months ago

  • Stop warning about python-version and python-platform in 1.1.352+ (c4eaa8c)
pyright-action - v2.2.0

Published by jakebailey 8 months ago

This adds a new annotate input, replacing no-comment. Examples:

# Disable annotations.
with:
  annotate: none
  # - or -
  annotate: false

# Annotate only errors, not warnings.
with:
  annotate: errors

# Annotate everything (the default)
with:
  annotate: all
  # - or -
  annotate: true

no-comment still works, and overrides annotate if set to true.

  • Add 'annotate' input, replacing 'no-comment' (93a05d0)
  • Smoke test on all OSs (328130c)
  • Pin GHA (ce41ade)
  • Update codecov/codecov-action digest to 54bcd87 (#87) (ac09533)
pyright-action - v2.1.2

Published by jakebailey 8 months ago

  • Handle case where --project is not json (f84ea8a)
pyright-action - v2.1.1

Published by jakebailey 8 months ago

This fixes a crash introduced in v2.1.0. Super sorry about that!

(I now have testing which should catch these kinds of problems earlier.)

  • Work around jsonc-parser bunding bug (80810b2)
  • Add smoke test in CI (46ce6ef)
pyright-action - v2.1.0

Published by jakebailey 8 months ago

This version crashes; DO NOT USE!

  • Use a posix join to make windows test more closely (3ca0e68)
  • Print a warning when passing a flag that will be ignored due to a config file (89f12e1)
  • Update deps (96385a0)
  • Ignore coverage of entrypoint (7aad7a1)
pyright-action - v2.0.2

Published by jakebailey 8 months ago

  • Print working directory (8c5d172)
  • Update codecov/codecov-action digest to 0cfda1d (#84) (e5e4853)
  • Update deps (668a172)
  • Update actions/setup-node digest to 60edb5d (#73) (9482056)
  • Update npm (a4eec27)
  • Update codecov/codecov-action action to v4 (#80) (c512178)
  • Update deps (0cc53fd)
pyright-action - v2.0.1

Published by jakebailey 9 months ago

This is a major version release. This bumps the minimum node version for the action to node20, which has been out for a while.

pyright-action - v1.8.1

Published by jakebailey 11 months ago

  • More verbose npm error (ab655b5)
pyright-action - v1.8.0

Published by jakebailey 11 months ago

This release adds a pylance-version option which allows specifying Pylance versions instead of pyright versions.

  • Bump node types, tests cover everything (be76cc4)
  • Bump deps (867d946)
  • Add pylance-version option (#63) (4f86b1c)
pyright-action - v1.7.1

Published by jakebailey 12 months ago

Fixes:

  • Fix skip-unannotated (f0b639c)

Other:

  • Don't watch in release-it (af54139)
  • Update actions/checkout digest to b4ffde6 (#50) (b7a5ff7)
  • Update actions/setup-node action to v4 (#56) (3400d73)
  • dprint config update (6005fd3)
  • Update deps (f9ae0ac)
  • Switch to vitest (34c9e23)
  • Update actions/setup-node digest to 5e21ff4 (#41) (e4696e5)
  • Update actions/checkout action to v4 (#42) (c96123b)
pyright-action - v1.7.0

Published by jakebailey about 1 year ago

This version automatically uses Node 20 if present on the runner, rather than Node 16; this should improve performance by using a newer / faster version of Node.

This should bea backwards-compatible change; if a runner is missing Node 20 in the default runner install, Node 16 will continue to be used instead.

pyright-action - v1.6.0

Published by jakebailey over 1 year ago

  • Used undashed flags for 1.1.309 onward (9a4e6bb)
  • Handle all flags (e2b6bd2)
  • Improve logic for disabling JSON (13f7f6c)
  • Sort getInput mock calls for better test diffs (24f5e1f)
  • Add test, quoting (221a611)
  • Switch extra-args parsing to one which handles quotes (9e4af90)
  • Fix testing (e5f0c49)
  • Big dep update (d326e6c)
pyright-action - v1.5.1

Published by jakebailey over 1 year ago

  • Update deps (483e025)
  • Don't tie --outputjson to no-comments, fixing verify-types (b6645e3)
pyright-action - v1.5.0

Published by jakebailey over 1 year ago

  • Add --ignoreexternal to YAML (3e3605c)
  • Update deps (6578665)
  • Move away from jest globals (68c6232)
pyright-action - v1.4.2

Published by jakebailey over 1 year ago

  • Add eslint-plugin-unicorn, fixups (f878ee4)
  • Update deps (56a872f)
  • Update coverage (3f965b9)
  • Fix my CI oops (672e2dc)
  • Update deps (33e8e3c)
  • Switch formatter to dprint (f17434a)
  • Update deps (cd6ec80)
  • Switch back to npm (8f2d537)
  • Update deps (b2897a7)
  • Update deps (8a3d7c0)
  • Update deps (813f5ff)
  • Update deps (bde8b1d)
  • Update deps (b0621bd)
  • Fix my bad import changing (66e122b)
  • Update deps and use node: imports (a1fecf7)
  • Update for TS 4.8 fix (7e33b86)
  • Update deps (035f8f8)
  • Update deps (1d74305)
pyright-action - v1.4.1

Published by jakebailey about 2 years ago

  • Update deps to resolve actions/core vulnerability (f2a2186)
  • Just switch to mostly prettier defaults (a162b15)
  • Tweak prettier config (f7db9ad)
  • Update deps, re-demote ncu and release-it to non-deps invoked by yarn dlx (c119764)
  • Update deps (c36ccc6)
  • Ignore coverage files in tsconfig (aead9e0)
pyright-action - v1.4.0

Published by jakebailey about 2 years ago

  • Bump maxBuffer to 100MB to accept >1MB output (78a64af)
  • Update yarn (45fb8f3)
  • Update deps (bf09870)
  • Update deps (d4e9648)
  • Update deps (cbaa3ee)
  • Drop old clona for newer, mainted klona (52d6349)
  • Upgrade to strictest tsconfig preset (51ed99e)
  • Verify that dist does not differ from build (c0254c9)
  • Update deps, remove supportedArchitectures from .yarnrc (6a15b61)
  • Update yarn (3b970e5)
  • Enable type checking in eslint, fix a few things (2dbd5df)
  • Update deps (bd3e35c)
  • Update deps for husky patch (d5dad01)
Package Rankings
Top 6.7% on Proxy.golang.org
Top 4.29% on Github actions
Badges
Extracted from project README
ci codecov