Skip to content
Snippets Groups Projects
Commit ae3ffa84 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

[ci][check] pip install pre-commit

parent d460a340
Branches
Tags
1 merge request!212Ci checks
Pipeline #49146 failed
......@@ -1019,6 +1019,7 @@ def check(root):
if os.path.isfile(path):
from ..bootstrap import run_cmdline
run_cmdline(["pip", "install", "--user", "--upgrade", "pre-commit"])
try:
backup = os.environ.get("SKIP", "")
os.environ["SKIP"] = "sphinx-build,sphinx-doctest"
......
......@@ -51,7 +51,6 @@ requirements:
- psutil
- tabulate
- python-graphviz
- pre-commit
test:
requires:
......
......@@ -2,4 +2,3 @@ repodata-patches
python-gitlab
untokenize
docformatter
pre-commit
{% set name = "pre-commit" %}
{% set version = "2.11.1" %}
package:
name: "{{ name|lower }}"
version: "{{ version }}"
source:
url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz"
sha256: de55c5c72ce80d79106e48beb1b54104d16495ce7f95b0c7b13d4784193a00af
build:
number: 0
script: "{{ PYTHON }} -m pip install . -vv"
requirements:
host:
- pip
- python
run:
- python
about:
home: The package home page
license: MIT
license_family: MIT
license_file:
summary: "A framework for managing and maintaining multi-language pre-commit hooks."
doc_url:
dev_url:
extra:
recipe-maintainers:
- amohammadi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment