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

Update RustPython to use the correct BinOp location #1355

Merged
merged 1 commit into from Dec 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Expand Up @@ -45,9 +45,9 @@ regex = { version = "1.6.0" }
ropey = { version = "1.5.0", features = ["cr_lines", "simd"], default-features = false }
ruff_macros = { version = "0.0.192", path = "ruff_macros" }
rustc-hash = { version = "1.1.0" }
rustpython-ast = { features = ["unparse"], git = "https://github.com/RustPython/RustPython.git", rev = "c01f014b1269eedcf4bdb45d5fbc62ae2beecf31" }
rustpython-common = { git = "https://github.com/RustPython/RustPython.git", rev = "c01f014b1269eedcf4bdb45d5fbc62ae2beecf31" }
rustpython-parser = { features = ["lalrpop"], git = "https://github.com/RustPython/RustPython.git", rev = "c01f014b1269eedcf4bdb45d5fbc62ae2beecf31" }
rustpython-ast = { features = ["unparse"], git = "https://github.com/RustPython/RustPython.git", rev = "1b6cb170e925a43d605b3fed9f6b878e63e47744" }
rustpython-common = { git = "https://github.com/RustPython/RustPython.git", rev = "1b6cb170e925a43d605b3fed9f6b878e63e47744" }
rustpython-parser = { features = ["lalrpop"], git = "https://github.com/RustPython/RustPython.git", rev = "1b6cb170e925a43d605b3fed9f6b878e63e47744" }
serde = { version = "1.0.147", features = ["derive"] }
serde_json = { version = "1.0.87" }
shellexpand = { version = "3.0.0" }
Expand Down
8 changes: 4 additions & 4 deletions flake8_to_ruff/Cargo.lock

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

6 changes: 3 additions & 3 deletions ruff_dev/Cargo.toml
Expand Up @@ -11,8 +11,8 @@ itertools = { version = "0.10.5" }
libcst = { git = "https://github.com/charliermarsh/LibCST", rev = "f2f0b7a487a8725d161fe8b3ed73a6758b21e177" }
once_cell = { version = "1.16.0" }
ruff = { path = ".." }
rustpython-ast = { features = ["unparse"], git = "https://github.com/RustPython/RustPython.git", rev = "c01f014b1269eedcf4bdb45d5fbc62ae2beecf31" }
rustpython-common = { git = "https://github.com/RustPython/RustPython.git", rev = "c01f014b1269eedcf4bdb45d5fbc62ae2beecf31" }
rustpython-parser = { features = ["lalrpop"], git = "https://github.com/RustPython/RustPython.git", rev = "c01f014b1269eedcf4bdb45d5fbc62ae2beecf31" }
rustpython-ast = { features = ["unparse"], git = "https://github.com/RustPython/RustPython.git", rev = "1b6cb170e925a43d605b3fed9f6b878e63e47744" }
rustpython-common = { git = "https://github.com/RustPython/RustPython.git", rev = "1b6cb170e925a43d605b3fed9f6b878e63e47744" }
rustpython-parser = { features = ["lalrpop"], git = "https://github.com/RustPython/RustPython.git", rev = "1b6cb170e925a43d605b3fed9f6b878e63e47744" }
strum = { version = "0.24.1", features = ["strum_macros"] }
strum_macros = { version = "0.24.3" }
Expand Up @@ -6,7 +6,7 @@ expression: checks
PercentFormatInvalidFormat: incomplete format
location:
row: 1
column: 9
column: 0
end_location:
row: 1
column: 25
Expand Down
14 changes: 7 additions & 7 deletions src/pyflakes/snapshots/ruff__pyflakes__tests__F502_F502.py.snap
Expand Up @@ -5,55 +5,55 @@ expression: checks
- kind: PercentFormatExpectedMapping
location:
row: 6
column: 10
column: 0
end_location:
row: 6
column: 19
fix: ~
- kind: PercentFormatExpectedMapping
location:
row: 7
column: 10
column: 0
end_location:
row: 7
column: 20
fix: ~
- kind: PercentFormatExpectedMapping
location:
row: 8
column: 10
column: 0
end_location:
row: 8
column: 19
fix: ~
- kind: PercentFormatExpectedMapping
location:
row: 9
column: 10
column: 0
end_location:
row: 9
column: 22
fix: ~
- kind: PercentFormatExpectedMapping
location:
row: 11
column: 10
column: 0
end_location:
row: 11
column: 37
fix: ~
- kind: PercentFormatExpectedMapping
location:
row: 12
column: 10
column: 0
end_location:
row: 12
column: 37
fix: ~
- kind: PercentFormatExpectedMapping
location:
row: 13
column: 10
column: 0
end_location:
row: 13
column: 37
Expand Down
Expand Up @@ -5,7 +5,7 @@ expression: checks
- kind: PercentFormatExpectedMapping
location:
row: 9
column: 10
column: 0
end_location:
row: 9
column: 21
Expand Down
Expand Up @@ -5,23 +5,23 @@ expression: checks
- kind: PercentFormatExpectedSequence
location:
row: 17
column: 8
column: 0
end_location:
row: 17
column: 24
fix: ~
- kind: PercentFormatExpectedSequence
location:
row: 18
column: 8
column: 0
end_location:
row: 18
column: 28
fix: ~
- kind: PercentFormatExpectedSequence
location:
row: 23
column: 8
column: 0
end_location:
row: 23
column: 42
Expand Down
Expand Up @@ -5,7 +5,7 @@ expression: checks
- kind: PercentFormatExpectedSequence
location:
row: 10
column: 8
column: 0
end_location:
row: 10
column: 20
Expand Down
Expand Up @@ -7,7 +7,7 @@ expression: checks
- b
location:
row: 3
column: 14
column: 0
end_location:
row: 3
column: 34
Expand All @@ -24,7 +24,7 @@ expression: checks
- b
location:
row: 8
column: 8
column: 0
end_location:
row: 8
column: 29
Expand All @@ -41,7 +41,7 @@ expression: checks
- b
location:
row: 9
column: 8
column: 0
end_location:
row: 9
column: 29
Expand Down
Expand Up @@ -7,7 +7,7 @@ expression: checks
- baz
location:
row: 8
column: 10
column: 0
end_location:
row: 8
column: 32
Expand Down
Expand Up @@ -7,7 +7,7 @@ expression: checks
- bar
location:
row: 7
column: 10
column: 0
end_location:
row: 7
column: 14
Expand Down
Expand Up @@ -5,23 +5,23 @@ expression: checks
- kind: PercentFormatMixedPositionalAndNamed
location:
row: 2
column: 13
column: 0
end_location:
row: 2
column: 29
fix: ~
- kind: PercentFormatMixedPositionalAndNamed
location:
row: 3
column: 13
column: 0
end_location:
row: 3
column: 29
fix: ~
- kind: PercentFormatMixedPositionalAndNamed
location:
row: 11
column: 11
column: 0
end_location:
row: 11
column: 27
Expand Down
Expand Up @@ -8,7 +8,7 @@ expression: checks
- 1
location:
row: 5
column: 8
column: 0
end_location:
row: 5
column: 14
Expand All @@ -19,7 +19,7 @@ expression: checks
- 3
location:
row: 6
column: 8
column: 0
end_location:
row: 6
column: 19
Expand Down
Expand Up @@ -5,7 +5,7 @@ expression: checks
- kind: PercentFormatStarRequiresSequence
location:
row: 11
column: 11
column: 0
end_location:
row: 11
column: 27
Expand Down
Expand Up @@ -6,7 +6,7 @@ expression: checks
PercentFormatUnsupportedFormatCharacter: j
location:
row: 4
column: 5
column: 0
end_location:
row: 4
column: 11
Expand Down