summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2021-11-24 23:20:11 +0100
committerGitHub <noreply@github.com>2021-11-24 14:20:11 -0800
commit270ba1096285032e33c62fa20236e7ae0bd3120c (patch)
tree88e313c573754aa0d780fbc0142ad427fd5afbb5 /lib
parentf8025d4f880c4f183cb9ca9a85ad69613a0936e9 (diff)
downloadspack-270ba1096285032e33c62fa20236e7ae0bd3120c.tar.gz
spack-270ba1096285032e33c62fa20236e7ae0bd3120c.tar.bz2
spack-270ba1096285032e33c62fa20236e7ae0bd3120c.tar.xz
spack-270ba1096285032e33c62fa20236e7ae0bd3120c.zip
spack flake8: remove deprecated command (#27290)
The "spack flake8" command wwas deprecated in favor of "spack style". The deprecation wwarning is in the 0.17.X series, so removing it for v0.18.x
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/flake8.py25
1 files changed, 0 insertions, 25 deletions
diff --git a/lib/spack/spack/cmd/flake8.py b/lib/spack/spack/cmd/flake8.py
deleted file mode 100644
index 0579cb674a..0000000000
--- a/lib/spack/spack/cmd/flake8.py
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
-# Spack Project Developers. See the top-level COPYRIGHT file for details.
-#
-# SPDX-License-Identifier: (Apache-2.0 OR MIT)
-
-from __future__ import print_function
-
-import llnl.util.tty as tty
-
-import spack.cmd.style
-
-description = "alias for spack style (deprecated)"
-section = spack.cmd.style.section
-level = spack.cmd.style.level
-
-
-def setup_parser(subparser):
- spack.cmd.style.setup_parser(subparser)
-
-
-def flake8(parser, args):
- tty.warn(
- "spack flake8 is deprecated", "please use `spack style` to run style checks"
- )
- return spack.cmd.style.style(parser, args)