Skip to content

Commit ca985c9

Browse files
committed
Avoid yamllint/pre-commit errors in generated files
- trailing whitespace - too long lines - incorrect comment indentation
1 parent 5018630 commit ca985c9

3 files changed

Lines changed: 3 additions & 10 deletions

File tree

template/.github/workflows/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on: # yamllint disable-line rule:truthy
99
pull_request:
1010

1111
env:
12-
FORCE_COLOR: "1" # Make tools pretty.
12+
FORCE_COLOR: "1" # Make tools pretty.
1313

1414
permissions: {}
1515

template/.github/workflows/{% if gh_action_pypi %}pypi-publish.yaml{% endif %}.jinja

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ name: Publish Python Package
1111
on: # yamllint disable-line rule:truthy
1212
push:
1313
tags:
14-
# GitHub glob matching is limited [1]. So we can't define a pattern matching
14+
# GitHub glob matching is limited. So we can't define a pattern matching
1515
# pep 440 version definition [N!]N(.N)*[{a|b|rc}N][.postN][.devN]
1616
- 'v[0-9]+.[0-9]+.[0-9]+.?*'
1717
- 'v[0-9]+.[0-9]+.[0-9]+rc[0-9]'
@@ -93,5 +93,3 @@ jobs:
9393
uses: pypa/gh-action-pypi-publish@v1.13.0
9494
with:
9595
verbose: true
96-
97-
# [1] https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet

template/mkdocs.yml.jinja

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ plugins:
2828
execute: false
2929
- mermaid2:
3030
version: 11.4.1
31+
# https://pypi.org/project/mkdocs-pymdownx-material-extras
3132
- mkdocs_pymdownx_material_extras:
32-
# https://pypi.org/project/mkdocs-pymdownx-material-extras
3333

3434
markdown_extensions:
3535
- pymdownx.superfences:
@@ -56,11 +56,6 @@ markdown_extensions:
5656
# write markdown inside of HTML
5757
- md_in_html
5858

59-
# TODO rebuild docs on schema change (https://github.com/linkml/linkml-project-copier/issues/39)
60-
# - gen-files:
61-
# scripts:
62-
# - gen_pages.py # or any other name or path
63-
6459
watch:
6560
- src/{{ project_slug }}/schema
6661

0 commit comments

Comments
 (0)