mirror of https://github.com/apache/superset.git
chore(pylint): Reenable ungrouped-imports check (#16256)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
parent
8e07dd28bc
commit
7b724439b9
|
@ -84,7 +84,6 @@ confidence=
|
||||||
disable=
|
disable=
|
||||||
missing-docstring,
|
missing-docstring,
|
||||||
too-many-lines,
|
too-many-lines,
|
||||||
ungrouped-imports,
|
|
||||||
import-outside-toplevel,
|
import-outside-toplevel,
|
||||||
raise-missing-from,
|
raise-missing-from,
|
||||||
too-few-public-methods,
|
too-few-public-methods,
|
||||||
|
|
|
@ -34,7 +34,7 @@ REGEXES=()
|
||||||
for CHECK in "$@"
|
for CHECK in "$@"
|
||||||
do
|
do
|
||||||
if [[ ${CHECK} == "python" ]]; then
|
if [[ ${CHECK} == "python" ]]; then
|
||||||
REGEX="(^\.github\/workflows\/.*python|^tests\/|^superset\/|^setup\.py|^requirements\/.+\.txt)"
|
REGEX="(^\.github\/workflows\/.*python|^tests\/|^superset\/|^setup\.py|^requirements\/.+\.txt|^\.pylintrc)"
|
||||||
echo "Searching for changes in python files"
|
echo "Searching for changes in python files"
|
||||||
elif [[ ${CHECK} == "frontend" ]]; then
|
elif [[ ${CHECK} == "frontend" ]]; then
|
||||||
REGEX="(^\.github\/workflows\/.*(frontend|e2e)|^superset-frontend\/)"
|
REGEX="(^\.github\/workflows\/.*(frontend|e2e)|^superset-frontend\/)"
|
||||||
|
|
Loading…
Reference in New Issue