Add missing qt dep to mypy/pylint

This commit is contained in:
Damien Elmes 2022-11-27 16:39:31 +10:00
parent 1e573de63a
commit c45c1a354c

View file

@ -230,7 +230,11 @@ pub fn check_python(build: &mut Build) -> Result<()> {
"python",
"tools",
],
deps: inputs![glob!["{pylib,ftl,qt}/**/*.{py,pyi}"], ":pylib/anki"],
deps: inputs![
glob!["{pylib,ftl,qt}/**/*.{py,pyi}"],
":pylib/anki",
":qt/aqt"
],
},
)?;
@ -285,6 +289,7 @@ fn add_pylint(build: &mut Build) -> Result<()> {
pylint_ini: inputs![".pylintrc"],
deps: inputs![
":pylint/anki",
":qt/aqt",
glob!("{pylib/tools,ftl,qt,python,tools}/**/*.py")
],
},