dependabot[bot]
d7e3213281
Bump syn from 1.0.99 to 1.0.101 in /native ( #786 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.99 to 1.0.101.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.99...1.0.101 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-28 16:46:33 +01:00
dependabot[bot]
014605f269
Bump trybuild from 1.0.64 to 1.0.65 in /native ( #787 )
...
Bumps [trybuild](https://github.com/dtolnay/trybuild ) from 1.0.64 to 1.0.65.
- [Release notes](https://github.com/dtolnay/trybuild/releases )
- [Commits](https://github.com/dtolnay/trybuild/compare/1.0.64...1.0.65 )
---
updated-dependencies:
- dependency-name: trybuild
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-28 16:46:21 +01:00
dependabot[bot]
e30922bf09
Bump itertools from 0.10.3 to 0.10.5 in /native ( #785 )
...
Bumps [itertools](https://github.com/rust-itertools/itertools ) from 0.10.3 to 0.10.5.
- [Release notes](https://github.com/rust-itertools/itertools/releases )
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-itertools/itertools/commits )
---
updated-dependencies:
- dependency-name: itertools
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 08:46:47 +01:00
MapleCCC
c75dbd482c
Fix black configuration ( #769 )
...
* Raise black's output file's target version to 3.7, which is the lowest supported Python version that libcst can be run on
* Add to, instead of override, the exclusion rules of black
* Fix the bug that files in `stubs/libcst_native/` are inadvertently ignored by black
This is due to black's file exclusion mechanism is a file-system-unaware pure-string-based pattern match. We need to prepend "^/" to specify that we are referring to the root-level "native/" folder. Yeah, I know this looks strange, but blame black for it :) . See https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#configuration-format for further reference.
* It's conventional to use single-quote literal string to represent regular expression in TOML format, because in this way it doesn't perform any escaping
* When codemod, specify the black formatter to use the same target Python version we use
* Fix the `test_codemod_formatter_error_input` unit test
* Remove an unused import in `test_codemod_cli` module
2022-09-14 15:22:45 +01:00
MapleCCC
973895a6c0
Several trivial refactors ( #770 )
...
* Enumeration members are singletons. Copying on them would be no-op
* Avoid generating unnecessary `pass` statement
* Several trivial refactor
* Avoid building unnecessary intermediate lists, which are mere slight waste of time and space
* Remove unused import, an overlook from commit 8e6bf9e9
* `collections.abc.Mapping.get()` defaults to return `None` when key doesn't exist
* Just use unittest's `assertRaises` to specify expected exception types, instead of catching every possible `Exception`s, which could suppress legitimate errors and hide bugs
* We know for sure that the body of `CSTTypedTransformerFunctions` won't be empty, so don't bother with complex formal completeness
2022-09-14 14:33:45 +01:00
MapleCCC
667c713b38
Fix the bug that the use of formatter in codemods has undetermined target Python version, resulting in hard-to-reason-with behavior ( #771 )
...
* When codemod, specify the black formatter to use the same target Python version we use
* Fix the `test_codemod_formatter_error_input` unit test
* Remove an unused import in `test_codemod_cli` module
2022-09-14 14:31:36 +01:00
dependabot[bot]
986575d185
Bump once_cell from 1.13.1 to 1.14.0 in /native ( #765 )
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.13.1 to 1.14.0.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.13.1...v1.14.0 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-06 11:38:51 +01:00
dependabot[bot]
c488ccb9df
Bump thiserror from 1.0.32 to 1.0.34 in /native ( #764 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.32 to 1.0.34.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.32...1.0.34 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-06 11:37:55 +01:00
dependabot[bot]
fe706cada0
Bump paste from 1.0.8 to 1.0.9 in /native ( #766 )
...
Bumps [paste](https://github.com/dtolnay/paste ) from 1.0.8 to 1.0.9.
- [Release notes](https://github.com/dtolnay/paste/releases )
- [Commits](https://github.com/dtolnay/paste/compare/1.0.8...1.0.9 )
---
updated-dependencies:
- dependency-name: paste
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-06 11:04:36 +01:00
dependabot[bot]
901e97749e
Bump black from 22.6.0 to 22.8.0 ( #767 )
...
Bumps [black](https://github.com/psf/black ) from 22.6.0 to 22.8.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/22.6.0...22.8.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-06 11:04:12 +01:00
MapleCCC
f92cbb7976
Fix doc build status badge ( #763 )
2022-09-04 20:36:55 +01:00
MapleCCC
27aa23f056
Raise informative exception when metadata is unresolved in a metadata-based match ( #757 )
...
* Raise informative exception when metadata is unresolved in a metadata-based match, instead of silently hide potential errors
* Fix unit test of `findall`
* Add unit test to cover the case of a resolved metadata provider doesn't provide metadata for all nodes
* Document the behavior of metadata-based match when the metadata provider is unresolved
2022-08-29 16:47:02 +01:00
MapleCCC
64811b7795
Tighten the metadata type of ExpressionContextProvider ( #760 )
2022-08-29 16:46:08 +01:00
dependabot[bot]
ea2490606a
Bump pyo3 from 0.16.5 to 0.17.1 in /native ( #759 )
...
Bumps [pyo3](https://github.com/pyo3/pyo3 ) from 0.16.5 to 0.17.1.
- [Release notes](https://github.com/pyo3/pyo3/releases )
- [Changelog](https://github.com/PyO3/pyo3/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pyo3/pyo3/compare/v0.16.5...v0.17.1 )
---
updated-dependencies:
- dependency-name: pyo3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-29 16:44:47 +01:00
dependabot[bot]
a077104f39
Bump once_cell from 1.13.0 to 1.13.1 in /native ( #754 )
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.13.0 to 1.13.1.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.13.0...v1.13.1 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-26 18:55:30 +01:00
MapleCCC
fc622ce790
Fix bug when TypeOf is one of options in OneOf / AllOf ( #756 )
...
* Fix a bug when one of the option of `OneOf` is a `TypeOf`
* Disallow `TypeOf` in `AllOf`, analogous to how `OneOf` is disallowed in `AllOf`
2022-08-26 18:54:07 +01:00
dependabot[bot]
5fc69d6e4e
Bump jinja2 from 3.0.3 to 3.1.2 ( #744 )
...
Bumps [jinja2](https://github.com/pallets/jinja ) from 3.0.3 to 3.1.2.
- [Release notes](https://github.com/pallets/jinja/releases )
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/jinja/compare/3.0.3...3.1.2 )
---
updated-dependencies:
- dependency-name: jinja2
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-17 18:26:31 +01:00
dependabot[bot]
fa8ee152fb
Bump ufmt from 1.3.3 to 2.0.0 ( #745 )
...
Bumps [ufmt](https://github.com/omnilib/ufmt ) from 1.3.3 to 2.0.0.
- [Release notes](https://github.com/omnilib/ufmt/releases )
- [Changelog](https://github.com/omnilib/ufmt/blob/main/CHANGELOG.md )
- [Commits](https://github.com/omnilib/ufmt/compare/v1.3.3...v2.0.0 )
---
updated-dependencies:
- dependency-name: ufmt
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-17 18:26:10 +01:00
dependabot[bot]
bfd09823ae
Bump paste from 1.0.7 to 1.0.8 in /native ( #743 )
...
Bumps [paste](https://github.com/dtolnay/paste ) from 1.0.7 to 1.0.8.
- [Release notes](https://github.com/dtolnay/paste/releases )
- [Commits](https://github.com/dtolnay/paste/compare/1.0.7...1.0.8 )
---
updated-dependencies:
- dependency-name: paste
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-17 14:04:05 +01:00
dependabot[bot]
ef2d70e37e
Bump thiserror from 1.0.31 to 1.0.32 in /native ( #742 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.31 to 1.0.32.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.31...1.0.32 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-17 14:03:51 +01:00
dependabot[bot]
7f8e755fbe
Bump quote from 1.0.20 to 1.0.21 in /native ( #741 )
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.20 to 1.0.21.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.20...1.0.21 )
---
updated-dependencies:
- dependency-name: quote
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-17 14:03:38 +01:00
dependabot[bot]
9f843cf4e1
Bump usort from 1.0.0rc1 to 1.0.4 ( #746 )
...
Bumps [usort](https://github.com/facebookexperimental/usort ) from 1.0.0rc1 to 1.0.4.
- [Release notes](https://github.com/facebookexperimental/usort/releases )
- [Changelog](https://github.com/facebookexperimental/usort/blob/v1.0.4/CHANGELOG.md )
- [Commits](https://github.com/facebookexperimental/usort/compare/v1.0.0rc1...v1.0.4 )
---
updated-dependencies:
- dependency-name: usort
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-17 14:03:12 +01:00
Zsolt Dollenstein
1f5f16aa77
Skip CI checks on Python 3.11 x Windows ( #752 )
...
There are no available binary wheels for lxml for Windows & Python 3.11 yet:
https://bugs.launchpad.net/lxml/+bug/1977998
Until that's resolved, let's skip tests in this configuration.
2022-08-17 14:00:48 +01:00
MapleCCC
79cf251896
Update Sphinx to 5.1.1 ( #748 )
2022-08-17 13:55:06 +01:00
MapleCCC
73cfc7f7fa
Fix docstring of FullRepoManager ( #750 )
...
The render error originates from how we violate the syntax rules of the `field list` markup element of reStructuredText. The `specification of field list states](https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#field-lists ) that a multi-line `field body` must be indented relative to the `field marker`.
2022-08-17 13:42:31 +01:00
MapleCCC
2bd6a64780
Fix graph not appearing on readthedocs ( #751 )
...
Fix problematic doc build, due to the new builder image provided by readthedocs doesn't has the `graphviz-dev` package pre-installed any more
2022-08-17 13:32:00 +01:00
dependabot[bot]
977504f104
Update maturin requirement from <0.9,>=0.8.3 to >=0.8.3,<0.14 ( #737 )
...
Updates the requirements on [maturin](https://github.com/pyo3/maturin ) to permit the latest version.
- [Release notes](https://github.com/pyo3/maturin/releases )
- [Changelog](https://github.com/PyO3/maturin/blob/main/Changelog.md )
- [Commits](https://github.com/pyo3/maturin/compare/v0.8.3...v0.13.1 )
---
updated-dependencies:
- dependency-name: maturin
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-08 14:31:07 +01:00
dependabot[bot]
21550e6e04
Bump once_cell from 1.12.0 to 1.13.0 in /native ( #732 )
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.12.0...v1.13.0 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-08 14:27:23 +01:00
dependabot[bot]
bcc169f60c
Bump syn from 1.0.98 to 1.0.99 in /native ( #733 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.98 to 1.0.99.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.98...1.0.99 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-08 14:27:12 +01:00
dependabot[bot]
09895298d5
Bump ufmt from 1.3 to 1.3.3 ( #734 )
...
Bumps [ufmt](https://github.com/omnilib/ufmt ) from 1.3 to 1.3.3.
- [Release notes](https://github.com/omnilib/ufmt/releases )
- [Changelog](https://github.com/omnilib/ufmt/blob/main/CHANGELOG.md )
- [Commits](https://github.com/omnilib/ufmt/compare/v1.3.0...v1.3.3 )
---
updated-dependencies:
- dependency-name: ufmt
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-08 14:26:47 +01:00
dependabot[bot]
dbfd83d811
Bump regex from 1.5.6 to 1.6.0 in /native ( #729 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.5.6 to 1.6.0.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.5.6...1.6.0 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-08 13:14:10 +01:00
dependabot[bot]
8c29b395c2
Bump trybuild from 1.0.63 to 1.0.64 in /native ( #730 )
...
Bumps [trybuild](https://github.com/dtolnay/trybuild ) from 1.0.63 to 1.0.64.
- [Release notes](https://github.com/dtolnay/trybuild/releases )
- [Commits](https://github.com/dtolnay/trybuild/compare/1.0.63...1.0.64 )
---
updated-dependencies:
- dependency-name: trybuild
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-08 13:13:59 +01:00
dependabot[bot]
9b55dba06e
Bump criterion from 0.3.5 to 0.3.6 in /native ( #731 )
...
Bumps [criterion](https://github.com/bheisler/criterion.rs ) from 0.3.5 to 0.3.6.
- [Release notes](https://github.com/bheisler/criterion.rs/releases )
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.3.5...0.3.6 )
---
updated-dependencies:
- dependency-name: criterion
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-08 13:13:46 +01:00
dependabot[bot]
7307a6918f
Bump black from 22.3.0 to 22.6.0 ( #735 )
...
Bumps [black](https://github.com/psf/black ) from 22.3.0 to 22.6.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/22.3.0...22.6.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-08 13:11:17 +01:00
Zsolt Dollenstein
2e441cb50f
pin flake8 below 5.0 ( #739 )
2022-08-08 12:44:04 +01:00
Dhruv Manilawala
345c7ba89b
add dependabot config file ( #728 )
2022-08-08 11:36:39 +01:00
zzl
47e5ea15e1
Fix parse error message for number parsing ( #724 )
...
Co-authored-by: zzl0 <zhuzhaolong0@mail.com>
2022-08-04 11:33:26 +01:00
Zsolt Dollenstein
367b14b052
test using python 3.11 beta versions ( #723 )
2022-07-15 15:26:58 +01:00
Zsolt Dollenstein
c85f9bf19d
bump version to 0.4.7
2022-07-12 15:52:10 +01:00
Chenguang Zhu
7cb229d175
Implement lazy loading mechanism for QualifiedNameProvider ( #720 )
...
* Implement lazy loading mechanism for expensive metadata providers
* Add support for lazy values in metadata matchers
* Fix type issues and implement lazy value support in base metadata provider too
* Add unit tests for BaseMetadataProvider
Co-authored-by: Zsolt Dollenstein <zsol.zsol@gmail.com>
2022-07-09 08:34:29 +01:00
Luke Petre
b3eda508d4
Fixing prefix matching bug from 0.4.6 ( #719 )
2022-07-05 11:25:39 +01:00
Zsolt Dollenstein
7042623ace
bump version to 0.4.6
2022-07-04 14:49:43 +01:00
Zsolt Dollenstein
343f56f607
[parser] bail on deeply nested expressions ( #718 )
2022-07-04 14:45:42 +01:00
Zsolt Dollenstein
c894160d4a
bump rust dependencies ( #714 )
2022-06-26 09:50:40 +01:00
Zsolt Dollenstein
9925117391
Support whitespace after ParamSlash ( #713 )
...
* add whitespace_after field to ParamSlash
* codegen
2022-06-26 09:42:37 +01:00
Zsolt Dollenstein
5592f2e00f
Fix parsing of parenthesized empty tuples ( #712 )
...
* Don't drop rpars from empty tuples during inflate
2022-06-26 09:41:49 +01:00
Luke Petre
aa4a2790db
Remove unnecessary qname work ( #709 )
2022-06-21 21:35:05 +01:00
Luke Petre
779163701c
Faster qualified name format ( #710 )
2022-06-21 14:26:45 +01:00
Luke Petre
42164f8672
Cache the scope name prefix to prevent scope traversal in a tight loop ( #708 )
...
* Cache the scope name prefix to prevent scope traversal in a tight loop
* Adding pyre-fixme. this attribute iclearly has a type in the base class.
* Clarify why we do join(filter(None,...
2022-06-21 10:11:02 +01:00
Sergei Lebedev
306a5f8175
convert_type_comments now preserves comments following type comments ( #702 )
...
For example,
y = 5 # type: int # foo
is converted to
y: int = 5 # foo
2022-06-20 07:39:12 -06:00