[ty] Ignore possibly-unresolved-reference by default (#17934)

This commit is contained in:
Micha Reiser 2025-05-08 17:44:56 +02:00 committed by GitHub
parent 067a8ac574
commit d608eae126
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 97 additions and 72 deletions

View file

@ -1,4 +1,5 @@
use camino::{Utf8Component, Utf8PathBuf};
use ruff_db::diagnostic::Severity;
use ruff_db::files::{File, Files};
use ruff_db::system::{
CaseSensitivity, DbWithWritableSystem, InMemorySystem, OsSystem, System, SystemPath,
@ -25,7 +26,7 @@ pub(crate) struct Db {
impl Db {
pub(crate) fn setup() -> Self {
let rule_selection = RuleSelection::from_registry(default_lint_registry());
let rule_selection = RuleSelection::all(default_lint_registry(), Severity::Info);
Self {
system: MdtestSystem::in_memory(),