Skip to content

Commit

Permalink
remove another reference to distutils
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Dec 9, 2024
1 parent b2f271b commit e4be1f5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions CIME/code_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import os
import json
from shutil import which

from CIME.XML.standard_module_setup import *

Expand All @@ -19,16 +20,13 @@

from multiprocessing.dummy import Pool as ThreadPool

# pylint: disable=import-error
from distutils.spawn import find_executable

logger = logging.getLogger(__name__)


###############################################################################
def _run_pylint(all_files, interactive):
###############################################################################
pylint = find_executable("pylint")
pylint = which("pylint")

cmd_options = (
" --disable=I,C,R,logging-not-lazy,wildcard-import,unused-wildcard-import"
Expand Down

0 comments on commit e4be1f5

Please sign in to comment.