From 270ba1096285032e33c62fa20236e7ae0bd3120c Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Wed, 24 Nov 2021 23:20:11 +0100 Subject: 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 --- lib/spack/spack/cmd/flake8.py | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 lib/spack/spack/cmd/flake8.py (limited to 'lib') 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) -- cgit v1.2.3-70-g09d2