Skip to content
This repository was archived by the owner on Jul 27, 2023. It is now read-only.

Commit ff7bab5

Browse files
authored
Prepare for moving the parser into the Ruff monorepo (#40)
1 parent 593b46b commit ff7bab5

File tree

154 files changed

+2399
-3803
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

154 files changed

+2399
-3803
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
- name: install ruff
6060
run: python -m pip install ruff
6161
- name: run python lint
62-
run: ruff --ignore=E501 ast --show-source
62+
run: ruff --ignore=E501 ruff_python_ast --show-source
6363

6464
- name: spell checker
6565
uses: streetsidesoftware/cspell-action@v2

Cargo.toml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[workspace.package]
22
version = "0.2.0"
3-
authors = ["RustPython Team"]
3+
authors = ["RustPython Team", "Charlie Marsh <charlie.r.marsh@gmail.com>"]
44
edition = "2021"
55
rust-version = "1.67.1"
66
description = "Python parser and its dependencies."
@@ -11,17 +11,16 @@ include = ["LICENSE", "Cargo.toml", "src/**/*.rs"]
1111
[workspace]
1212
resolver = "2"
1313
members = [
14-
"ast", "core", "format", "literal", "parser", "ruff_text_size",
14+
"ruff_python_ast", "literal", "ruff_python_parser", "ruff_text_size",
1515
]
1616

1717
[workspace.dependencies]
18-
rustpython-ast = { path = "ast", default-features = false }
19-
rustpython-parser-core = { path = "core", features = [] }
18+
ruff_python_ast = { path = "ruff_python_ast" }
2019
rustpython-literal = { path = "literal" }
21-
rustpython-format = { path = "format" }
22-
rustpython-parser = { path = "parser", default-features = false }
20+
ruff_text_size = { path = "ruff_text_size" }
2321

2422
anyhow = "1.0.45"
23+
bitflags = "2.3.3"
2524
cfg-if = "1.0"
2625
insta = "1.14.0"
2726
itertools = "0.10.3"

ast/Cargo.toml

Lines changed: 0 additions & 16 deletions
This file was deleted.

ast/src/builtin.rs

Lines changed: 0 additions & 203 deletions
This file was deleted.

ast/src/impls.rs

Lines changed: 0 additions & 64 deletions
This file was deleted.

0 commit comments

Comments
 (0)