summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pep8-naming/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/py-pep8-naming/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-pep8-naming/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pep8-naming/package.py b/var/spack/repos/builtin/packages/py-pep8-naming/package.py
new file mode 100644
index 0000000000..796e18a18f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pep8-naming/package.py
@@ -0,0 +1,18 @@
+# Copyright 2013-2018 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 spack import *
+
+
+class PyPep8Naming(PythonPackage):
+ """Check PEP-8 naming conventions, plugin for flake8."""
+
+ homepage = "https://pypi.org/project/pep8-naming/"
+ url = "https://files.pythonhosted.org/packages/3e/4a/125425d6b1e017f48dfc9c961f4bb9510168db7a090618906c750184ed03/pep8-naming-0.7.0.tar.gz"
+
+ extends('python', ignore='bin/(flake8|pyflakes|pycodestyle)')
+ version('0.7.0', '624258e0dd06ef32a9daf3c36cc925ff7314da7233209c5b01f7e5cdd3c34826')
+
+ depends_on('py-flake8-polyfill', type='run')