diff options
| author | Matti Picus <matti.picus@gmail.com> | 2021-07-09 09:06:05 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-09 09:06:05 +0300 |
| commit | 1f95d7914ff23ffeb95767de79c55b4f702e6f2f (patch) | |
| tree | 4c244226b594ce7235f8095e4be084eac5734af4 /numpy/distutils | |
| parent | 1d7939e1d26adbedaeec98c8153ea2e37297f520 (diff) | |
| parent | 6ce7835aa8ac388724739956e06bef4bd8abdac2 (diff) | |
| download | numpy-1f95d7914ff23ffeb95767de79c55b4f702e6f2f.tar.gz | |
Merge pull request #19102 from default-303/LGTM_unused_variables
MAINT: Removed suitable unused variables shown in LGTM
Diffstat (limited to 'numpy/distutils')
| -rw-r--r-- | numpy/distutils/system_info.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py index 82e864a5c..2846d754e 100644 --- a/numpy/distutils/system_info.py +++ b/numpy/distutils/system_info.py @@ -1342,8 +1342,6 @@ class atlas_info(system_info): lapack = None atlas_1 = None for d in lib_dirs: - # FIXME: lapack_atlas is unused - lapack_atlas = self.check_libs2(d, ['lapack_atlas'], []) atlas = self.check_libs2(d, atlas_libs, []) if atlas is not None: lib_dirs2 = [d] + self.combine_paths(d, ['atlas*', 'ATLAS*']) @@ -3107,8 +3105,9 @@ def show_all(argv=None): del show_only[show_only.index(name)] conf = c() conf.verbosity = 2 - # FIXME: r not used - r = conf.get_info() + # we don't need the result, but we want + # the side effect of printing diagnostics + conf.get_info() if show_only: log.info('Info classes not defined: %s', ','.join(show_only)) |
