Skip to content
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

primer performance check - 1.13.1 & bisect #474

Closed
wants to merge 25 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
126d53a
asdf
DetachHead Jul 4, 2024
6b7e540
Revert "don't report `reportUnreachable` on `assert_never` calls"
DetachHead Jul 5, 2024
51352dc
Revert "improve wording on `reportUnsafeMultipleInheritance` error me…
DetachHead Jul 5, 2024
5561ff6
Revert "fix `reportUnsafeMultipleInheritance` false positive on datac…
DetachHead Jul 5, 2024
648d25f
Revert "fix logic in `reportUnsafeMultipleInheritance` to correctly a…
DetachHead Jul 5, 2024
20d4076
Revert "Fixed bug that results in incorrect type narrowing in the neg…
DetachHead Jul 5, 2024
4bbf862
Revert "Fixed bug that leads to a spurious "unbound variable" diagnos…
DetachHead Jul 5, 2024
86b6b58
Revert "Added support for walrus (assignment) operator within set lit…
DetachHead Jul 5, 2024
0135191
Revert "Fixed bug that incorrectly evaluates a constructor call to a …
DetachHead Jul 5, 2024
de5cbbb
Revert "Fixed bug that results in a false positive error when using a…
DetachHead Jul 5, 2024
6fd3a8f
Revert "Improved `reportUninitializedInstanceVariable` check to handl…
DetachHead Jul 5, 2024
7cd9353
Revert "Fix binary search in `findNodeByOffset` to match linear searc…
DetachHead Jul 5, 2024
a5fd4cd
Revert "Bump braces from 3.0.2 to 3.0.3 (#8204)"
DetachHead Jul 5, 2024
5c2f2ce
Revert "Improved diagnostic messages for type errors detected during …
DetachHead Jul 5, 2024
db69b01
Revert "Fixed bug that results in an incorrect overload implementatio…
DetachHead Jul 5, 2024
002c195
Revert "Changed hover provider output for type aliases to conform mor…
DetachHead Jul 5, 2024
0e19ee3
Revert "Fixed recent regression that results in a runtime assert (and…
DetachHead Jul 5, 2024
eadeb56
Revert "Improved consistency of unreachable code. Previously, unreach…
DetachHead Jul 5, 2024
d6058a1
Revert "Fixed bug that leads to a false negative when a subscript obj…
DetachHead Jul 5, 2024
e507ddc
Revert "fix broken markdown link (#8186)"
DetachHead Jul 5, 2024
4b77a40
Revert "Fixed recent regression in `reportUninitializedInstanceVariab…
DetachHead Jul 5, 2024
6cc6c73
Revert "pull-pylance-with-pyright-1.1.368-9572872079 (#8173)"
DetachHead Jul 5, 2024
1c4b8af
Revert "Added support for detecting mismatched property types in base…
DetachHead Jul 5, 2024
38f2c9d
asdf
DetachHead Jul 5, 2024
a02ca34
Revert "Revert "fix `reportUninitializedInstanceVariable` false posit…
DetachHead Jul 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ The following settings can be specified for each execution environment.

- **pythonPlatform** [string, optional]: Specifies the target platform that will be used for this execution environment. If not specified, the global `pythonPlatform` setting is used instead.

In addition, any of the [type check diagnostics settings](configuration.md#type-check-diagnostics-settings) listed above can be specified. These settings act as overrides for the files in this execution environment.
In addition, any of the [type check diagnostics settings](configuration.md/type-check-diagnostics-settings) listed above can be specified. These settings act as overrides for the files in this execution environment.

## Sample Config File
The following is an example of a pyright config file:
Expand Down
32 changes: 10 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions packages/pyright-internal/src/analyzer/cacheManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,6 @@ export class CacheManager {

// Returns a ratio of used bytes to total bytes.
getUsedHeapRatio(console?: ConsoleInterface) {
if (this._pausedCount > 0) {
return -1;
}

const heapStats = getHeapStatistics();
let usage = this._getTotalHeapUsage(heapStats);

Expand Down
Loading
Loading