Skip to content

Commit

Permalink
build: update deps & add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mtshiba committed Sep 2, 2023
1 parent ca262b4 commit 700937e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
12 changes: 4 additions & 8 deletions Cargo.lock

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

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ edition = "2021"
repository = "https://github.com/mtshiba/pylyzer"

[workspace.dependencies]
erg_common = { version = "0.6.20-nightly.0", features = ["py_compat", "els"] }
erg_compiler = { version = "0.6.20-nightly.0", features = ["py_compat", "els"] }
els = { version = "0.1.32-nightly.0", features = ["py_compat"] }
# erg_common = { version = "0.6.20-nightly.0", features = ["py_compat", "els"] }
# erg_compiler = { version = "0.6.20-nightly.0", features = ["py_compat", "els"] }
# els = { version = "0.1.32-nightly.0", features = ["py_compat"] }
rustpython-parser = { version = "0.3.0", features = ["all-nodes-with-ranges", "location"] }
rustpython-ast = { version = "0.3.0", features = ["all-nodes-with-ranges", "location"] }
# rustpython-parser = { git = "https://github.com/RustPython/Parser", version = "0.3.0", features = ["all-nodes-with-ranges", "location"] }
# rustpython-ast = { git = "https://github.com/RustPython/Parser", version = "0.3.0", features = ["all-nodes-with-ranges", "location"] }
# erg_compiler = { git = "https://github.com/erg-lang/erg", branch = "main", features = ["py_compat", "els"] }
# erg_common = { git = "https://github.com/erg-lang/erg", branch = "main", features = ["py_compat", "els"] }
# els = { git = "https://github.com/erg-lang/erg", branch = "main", features = ["py_compat"] }
erg_compiler = { git = "https://github.com/erg-lang/erg", branch = "main", features = ["py_compat", "els"] }
erg_common = { git = "https://github.com/erg-lang/erg", branch = "main", features = ["py_compat", "els"] }
els = { git = "https://github.com/erg-lang/erg", branch = "main", features = ["py_compat"] }
# erg_compiler = { path = "../erg/crates/erg_compiler", features = ["py_compat", "els"] }
# erg_common = { path = "../erg/crates/erg_common", features = ["py_compat", "els"] }
# els = { path = "../erg/crates/els", features = ["py_compat"] }
Expand Down
3 changes: 3 additions & 0 deletions tests/collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@
def f(s: Str): return None
for i in getattr(1, "aaa", ()):
f(i)

assert 1 in [1, 2]
assert 1 in {1, 2}

0 comments on commit 700937e

Please sign in to comment.