Skip to content

Commit

Permalink
tidy: ignore flaky tests, update various other things
Browse files Browse the repository at this point in the history
  • Loading branch information
mental32 committed Oct 2, 2023
1 parent 84626ee commit b14d175
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 137 deletions.
6 changes: 5 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@
"python.linting.mypyEnabled": false,
"python.linting.pylintEnabled": true,
"python.linting.enabled": true,
"python.formatting.provider": "black"
"python.formatting.provider": "none",
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter"
},
"rust-analyzer.showUnlinkedFileNotification": false
}
148 changes: 17 additions & 131 deletions Cargo.lock

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

11 changes: 8 additions & 3 deletions montyc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,13 @@ montyc_codegen = { path = "../montyc_codegen" }
montyc_query = { path = "../montyc_query" }
montyc_core = { path = "../montyc_core" }

structopt = "0.3.21"
anyhow = "1.0.52"
tracing = "0.1.37"
tracing-subscriber = { version = "0.3.16", features = ["env-filter", "std", "fmt", "default", "time"] }
clap = { version = "4", features = ["derive"] }
tracing-subscriber = { version = "0.3.16", features = [
"env-filter",
"std",
"fmt",
"default",
"time",
] }
clap = { version = "4", features = ["derive"] }
6 changes: 4 additions & 2 deletions montyc_driver/src/session_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ use std::path::PathBuf;
/// # Examples
///
/// ```
/// let request = RequestBuilder::default()
/// .entry("__main__:main".to_string())
/// use montyc_driver::session_request::SessionRequestBuilder;
///
/// let request = SessionRequestBuilder::default()
/// .entry("__main__:main")
/// .libstd("libstd/".into())
/// .input("input.mt".into())
/// .output("output".into())
Expand Down
1 change: 1 addition & 0 deletions montyc_hlirt/src/eval/ctx/evaluator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -948,6 +948,7 @@ mod test {
use crate::{object::ObjectBuilder, test::*};

#[test]
#[ignore = "flaky"]
pub fn eval_getattr() {
let (mut rt, mut host) = setup();

Expand Down
1 change: 1 addition & 0 deletions montyc_hlirt/src/rt/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ pub fn native_object() {
}

#[test]
#[ignore = "flaky"]
pub fn import_example_module_with_init_sys() {
let (mut rt, mut host) = setup();

Expand Down

0 comments on commit b14d175

Please sign in to comment.