mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 18:58:04 +00:00
[ty] Ignore possibly-unresolved-reference
by default (#17934)
This commit is contained in:
parent
067a8ac574
commit
d608eae126
9 changed files with 97 additions and 72 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue