Skip to content

Commit

Permalink
Set error_overlinking to true in new feedstocks
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Feb 2, 2023
1 parent 853471f commit e6e171b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/scripts/create_feedstocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,12 @@ def _set_default_branch(feedstock_dir, default_branch):
):
cfg["upload_on_branch"] = default_branch

if "conda_build" not in cfg:
cfg["conda_build"] = {}

if "error_overlinking" not in cfg["conda_build"]:
cfg["conda_build"]["error_overlinking"] = True

with open(os.path.join(feedstock_dir, "conda-forge.yml"), "w") as fp:
yaml.dump(cfg, fp)

Expand Down

0 comments on commit e6e171b

Please sign in to comment.