-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump mypy from 1.10.1 to 1.13.0 #53
Conversation
51d9468
to
88a2762
Compare
This comment was marked as outdated.
This comment was marked as outdated.
88a2762
to
0dbbdc7
Compare
0dbbdc7
to
4497018
Compare
Bumps [mypy](https://github.com/python/mypy) from 1.10.1 to 1.13.0 - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](python/mypy@v1.10.1...v1.13.0) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
4497018
to
70f615c
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #53 +/- ##
==========================================
+ Coverage 52.63% 53.60% +0.97%
==========================================
Files 5 5
Lines 190 194 +4
Branches 27 27
==========================================
+ Hits 100 104 +4
Misses 86 86
Partials 4 4 ☔ View full report in Codecov by Sentry. |
src/pytest_fzf/previewer.py
Outdated
# false positive: mypy believes that ast.AST doesn't have a lineno attribute, | ||
# which does exist: https://docs.python.org/3/library/ast.html#ast.AST.lineno |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is actually false:
this code will error out:
$ python -c 'import ast; ast_ = ast.parse("def stuff():\n\tx=42\n"); assert ast_.lineno == 1'
Traceback (most recent call last):
File "<string>", line 1, in <module>
AttributeError: 'Module' object has no attribute 'lineno'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, it looks like not all ast.AST
objects have lineno
. For example ast.Module
does not.
Check here for a detailed list: https://github.com/python/cpython/blob/41bd9d959ccdb1095b6662b903bb3cbd2a47087b/Python/Python-ast.c#L397
Not sure why the docs show lineno
as present for ast.AST
though.
70f615c
to
228c16a
Compare
Bumps mypy from 1.10.1 to 1.11.2.
Changelog
Sourced from mypy's changelog.
... (truncated)
Commits
789f02c
Bump version to 1.11.2917cc75
An alternative fix for a union-like literal string (#17639)7d805b3
Unwrap TypedDict item types before storing (#17640)32675dd
Revert "Fix Literal strings containing pipe characters" (#17638)778542b
Revert "FixRawExpressionType.accept
crash with--cache-fine-grained
" (#1...14ab742
Bump version to 1.11.2+dev570b90a
Bump version to 1.11b3a102e
FixRawExpressionType.accept
crash with--cache-fine-grained
(#17588)aec04c7
Fix PEP 604 isinstance caching (#17563)cb44e4d
Fixtyping.TypeAliasType
being undefined on python < 3.12 (#17558)You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)