summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pytest-isort/package.py
blob: f68a865384b9bc9edf7d725a6d7a8aed3b1cb5e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013-2024 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.package import *


class PyPytestIsort(PythonPackage):
    """py.test plugin to check import ordering using isort"""

    homepage = "https://github.com/moccu/pytest-isort/"
    pypi = "pytest-isort/pytest-isort-0.3.1.tar.gz"

    license("MIT")

    version("0.3.1", sha256="4bfee60dad1870b51700d55a85f5ceda766bd9d3d2878c1bbabee80e61b1be1a")

    depends_on("py-setuptools", type="build")
    depends_on("py-pytest@3.5:", type=("build", "run"))
    depends_on("py-isort@4.0:", type=("build", "run"))