Skip to content

Commit

Permalink
pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp committed Nov 2, 2023
1 parent 72e8ab3 commit 81f824c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion conda_build/post.py
Original file line number Diff line number Diff line change
Expand Up @@ -1714,7 +1714,9 @@ def check_menuinst_json(files, prefix):
with open(join(prefix, json_file)) as f:
text = f.read()
if "$schema" not in text:
log.warning("menuinst v1 JSON document '%s' won't be validated.", json_file)
log.warning(
"menuinst v1 JSON document '%s' won't be validated.", json_file
)
continue
validator.validate(json.loads(text))
except (jsonschema.ValidationError, json.JSONDecodeError) as exc:
Expand Down
6 changes: 3 additions & 3 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# NEW for menuinst validation
anaconda-client
beautifulsoup4
chardet
conda >=4.13
conda-forge::allure-pytest
conda-forge::menuinst >=2
conda-index
conda-package-handling
conda-verify
Expand All @@ -11,6 +13,7 @@ cytoolz
filelock
git
jinja2
jsonschema
numpy
perl
pip
Expand All @@ -33,6 +36,3 @@ ruamel.yaml
setuptools_scm # needed for devenv version detection
tomli
tqdm
# NEW for menuinst validation
jsonschema
conda-forge::menuinst >=2

0 comments on commit 81f824c

Please sign in to comment.