Sync with WeblateOrg/meta

This commit is contained in:
Michal Čihař 2022-01-25 09:27:46 +01:00
parent cfcf05988f
commit 37b8027d18
14 changed files with 372 additions and 366 deletions

View file

@ -3,58 +3,58 @@
name: Bug report
description: Create a report to help us improve
body:
- type: markdown
attributes:
value: |
Thank you for reporting an issue on Weblate! This form will guide you to create a useful issue report.
- type: textarea
id: what-happened
attributes:
label: Describe the issue
description: A clear and concise description of the problem you are facing.
placeholder: Tell us what you see!
validations:
- type: markdown
attributes:
value: |
Thank you for reporting an issue on Weblate! This form will guide you to create a useful issue report.
- type: textarea
id: what-happened
attributes:
label: Describe the issue
description: A clear and concise description of the problem you are facing.
placeholder: Tell us what you see!
validations:
required: true
- type: checkboxes
id: tried
attributes:
label: I already tried
description: If you didnt try already, try to search the documentation and existing issues what you wrote above.
options:
- label: I've read and searched [the documentation](https://docs.weblate.org/).
required: true
- type: checkboxes
id: tried
attributes:
label: I already tried
description: If you didnt try already, try to search the documentation and existing issues what you wrote above.
options:
- label: I've read and searched [the documentation](https://docs.weblate.org/).
required: true
- label: I've searched for similar issues in this repository.
required: true
- type: textarea
id: reproducer
attributes:
label: Steps to reproduce the behavior
value: |
1. Go to '...'
2. Scroll down to '...'
3. Click on '...'
4. See error
- type: textarea
id: expected
attributes:
label: Expected behavior
description: A clear and concise description of what you expected to happen.
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: If applicable, add screenshots to better explain your problem.
- type: textarea
id: traceback
attributes:
label: Exception traceback
description: >
In case you observed server error or crash, please see
[the debugging documentation](https://docs.weblate.org/en/latest/contributing/debugging.html)
for information how to obtain that.
render: pytb
- type: textarea
id: additional
attributes:
label: Additional context
description: Add any other context about the problem here.
- label: I've searched for similar issues in this repository.
required: true
- type: textarea
id: reproducer
attributes:
label: Steps to reproduce the behavior
value: |
1. Go to '...'
2. Scroll down to '...'
3. Click on '...'
4. See error
- type: textarea
id: expected
attributes:
label: Expected behavior
description: A clear and concise description of what you expected to happen.
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: If applicable, add screenshots to better explain your problem.
- type: textarea
id: traceback
attributes:
label: Exception traceback
description: >
In case you observed server error or crash, please see
[the debugging documentation](https://docs.weblate.org/en/latest/contributing/debugging.html)
for information how to obtain that.
render: pytb
- type: textarea
id: additional
attributes:
label: Additional context
description: Add any other context about the problem here.

View file

@ -1,15 +1,10 @@
contact_links:
- name: Read our clear, thorough and localized Docs
url: https://docs.weblate.org/
about:
Save your time! There is an instant solution for many issues in the docs
appreciated by numerous users. And it might be in your preferred language.
- name: Get Professional support
url: https://weblate.org/support/
about:
As a subscriber, you will always receive fast and helpful replies from
our dedicated support team. More responsible and faster for your business, also
makes Weblate stronger.
- name: Ask a Question
url: https://github.com/WeblateOrg/weblate/discussions
about: Want to discuss something with a community? Do it in discussions!
- name: Read our clear, thorough and localized Docs
url: https://docs.weblate.org/
about: Save your time! There is an instant solution for many issues in the docs appreciated by numerous users. And it might be in your preferred language.
- name: Get Professional support
url: https://weblate.org/support/
about: As a subscriber, you will always receive fast and helpful replies from our dedicated support team. More responsible and faster for your business, also makes Weblate stronger.
- name: Ask a Question
url: https://github.com/WeblateOrg/weblate/discussions
about: Want to discuss something with a community? Do it in discussions!

View file

@ -3,39 +3,39 @@
name: Feature request
description: Suggest an idea for this project
body:
- type: markdown
attributes:
value: |
Thank you for reporting an issue on Weblate! This form will guide you to create a useful issue report.
- type: textarea
id: describe
attributes:
label: Describe the problem
description: >
Is your feature request related to a problem? If so, please provide
a clear and concise description of what the problem is.
Ex. I'm always frustrated when [...]
validations:
required: true
- type: textarea
id: solition
attributes:
label: Describe the solution you'd like
description: A clear and concise description of what the new feature should do.
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Describe alternatives you've considered
description: A clear and concise description of any alternative solutions or features you've considered.
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: If applicable, add screenshots to better explain your problem.
- type: textarea
id: additional
attributes:
label: Additional context
description: Add any other context about the problem here.
- type: markdown
attributes:
value: |
Thank you for reporting an issue on Weblate! This form will guide you to create a useful issue report.
- type: textarea
id: describe
attributes:
label: Describe the problem
description: >
Is your feature request related to a problem? If so, please provide
a clear and concise description of what the problem is.
Ex. I'm always frustrated when [...]
validations:
required: true
- type: textarea
id: solition
attributes:
label: Describe the solution you'd like
description: A clear and concise description of what the new feature should do.
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Describe alternatives you've considered
description: A clear and concise description of any alternative solutions or features you've considered.
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: If applicable, add screenshots to better explain your problem.
- type: textarea
id: additional
attributes:
label: Additional context
description: Add any other context about the problem here.

View file

@ -3,62 +3,62 @@
name: Support question
description: Help with configuration or deployment
labels:
- question
- question
body:
- type: markdown
attributes:
value: |
Thank you for reporting an issue on Weblate! This form will guide you to create a useful issue report.
- type: markdown
attributes:
value: |
Thank you for reporting an issue on Weblate! This form will guide you to create a useful issue report.

Want your answer quickly and guaranteed? Visit https://weblate.org/support/ to reach our dedicated support team. As a subscriber, you will always have priority and help Weblate growing.
- type: textarea
id: what-happened
attributes:
label: Describe the issue
description: A clear and concise description of the problem you are facing.
placeholder: Tell us what you see!
validations:
Want your answer quickly and guaranteed? Visit https://weblate.org/support/ to reach our dedicated support team. As a subscriber, you will always have priority and help Weblate growing.
- type: textarea
id: what-happened
attributes:
label: Describe the issue
description: A clear and concise description of the problem you are facing.
placeholder: Tell us what you see!
validations:
required: true
- type: checkboxes
id: tried
attributes:
label: I already tried
description: If you didnt try already, try to search the documentation and existing issues what you wrote above.
options:
- label: I've read and searched [the documentation](https://docs.weblate.org/).
required: true
- type: checkboxes
id: tried
attributes:
label: I already tried
description: If you didnt try already, try to search the documentation and existing issues what you wrote above.
options:
- label: I've read and searched [the documentation](https://docs.weblate.org/).
required: true
- label: I've searched for similar issues in this repository.
required: true
- type: textarea
id: reproducer
attributes:
label: Steps to reproduce the behavior
value: |
1. Go to '...'
2. Scroll down to '...'
3. Click on '...'
4. See error
- type: textarea
id: expected
attributes:
label: Expected behavior
description: A clear and concise description of what you expected to happen.
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: If applicable, add screenshots to better explain your problem.
- type: textarea
id: traceback
attributes:
label: Exception traceback
description: >
In case you observed server error or crash, please see
[the debugging documentation](https://docs.weblate.org/en/latest/contributing/debugging.html)
for information how to obtain that.
render: pytb
- type: textarea
id: additional
attributes:
label: Additional context
description: Add any other context about the problem here.
- label: I've searched for similar issues in this repository.
required: true
- type: textarea
id: reproducer
attributes:
label: Steps to reproduce the behavior
value: |
1. Go to '...'
2. Scroll down to '...'
3. Click on '...'
4. See error
- type: textarea
id: expected
attributes:
label: Expected behavior
description: A clear and concise description of what you expected to happen.
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: If applicable, add screenshots to better explain your problem.
- type: textarea
id: traceback
attributes:
label: Exception traceback
description: >
In case you observed server error or crash, please see
[the debugging documentation](https://docs.weblate.org/en/latest/contributing/debugging.html)
for information how to obtain that.
render: pytb
- type: textarea
id: additional
attributes:
label: Additional context
description: Add any other context about the problem here.

View file

@ -1,19 +1,19 @@
# This file is generated in https://github.com/WeblateOrg/meta/
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
labels:
- dependencies
- automerge
open-pull-requests-limit: 10
- package-ecosystem: pip
directory: /
schedule:
interval: daily
labels:
- dependencies
- automerge
open-pull-requests-limit: 10
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
labels:
- dependencies
- automerge
open-pull-requests-limit: 10
- package-ecosystem: pip
directory: /
schedule:
interval: daily
labels:
- dependencies
- automerge
open-pull-requests-limit: 10

View file

@ -9,26 +9,26 @@ jobs:
issueClosed:
runs-on: ubuntu-20.04
steps:
- name: Add closed question comment
uses: peter-evans/create-or-update-comment@v1.4.5
if: ${{ (contains(github.event.issue.labels.*.name, 'question') && ! contains(github.event.issue.labels.*.name, 'duplicate') && ! contains(github.event.issue.labels.*.name, 'wontfix')) || join(github.event.issue.labels.*.name) == '' }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
The issue you have reported is now resolved. If you dont feel its right, please follow its labels to get a clue for further steps.
- name: Add closed question comment
uses: peter-evans/create-or-update-comment@v1.4.5
if: ${{ (contains(github.event.issue.labels.*.name, 'question') && ! contains(github.event.issue.labels.*.name, 'duplicate') && ! contains(github.event.issue.labels.*.name, 'wontfix')) || join(github.event.issue.labels.*.name) == '' }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
The issue you have reported is now resolved. If you dont feel its right, please follow its labels to get a clue for further steps.

* In case you see a similar problem, please open a separate issue.
* If you are happy with the outcome, dont hesitate to support Weblate by making a [donation](https://weblate.org/donate/).
- name: Add closed issue comment
uses: peter-evans/create-or-update-comment@v1.4.5
if: ${{ ! contains(github.event.issue.labels.*.name, 'invalid') && ! contains(github.event.issue.labels.*.name, 'question') && ! contains(github.event.issue.labels.*.name, 'wontfix') && ! contains(github.event.issue.labels.*.name, 'duplicate') && ! contains(github.event.issue.labels.*.name, 'undecided') && ! contains(github.event.issue.labels.*.name, 'needinfo') && join(github.event.issue.labels.*.name) != '' }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
Thank you for your report; the issue you have reported has just been fixed.
* In case you see a similar problem, please open a separate issue.
* If you are happy with the outcome, dont hesitate to support Weblate by making a [donation](https://weblate.org/donate/).
- name: Add closed issue comment
uses: peter-evans/create-or-update-comment@v1.4.5
if: ${{ ! contains(github.event.issue.labels.*.name, 'invalid') && ! contains(github.event.issue.labels.*.name, 'question') && ! contains(github.event.issue.labels.*.name, 'wontfix') && ! contains(github.event.issue.labels.*.name, 'duplicate') && ! contains(github.event.issue.labels.*.name, 'undecided') && ! contains(github.event.issue.labels.*.name, 'needinfo') && join(github.event.issue.labels.*.name) != '' }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
Thank you for your report; the issue you have reported has just been fixed.

* In case you see a problem with the fix, please comment on this issue.
* In case you see a similar problem, please open a separate issue.
* If you are happy with the outcome, dont hesitate to support Weblate by making a [donation](https://weblate.org/donate/).
* In case you see a problem with the fix, please comment on this issue.
* In case you see a similar problem, please open a separate issue.
* If you are happy with the outcome, dont hesitate to support Weblate by making a [donation](https://weblate.org/donate/).

View file

@ -3,19 +3,19 @@ name: Sync labels
on:
push:
branches:
- main
- main
paths:
- .github/labels.yml
- .github/workflows/label-sync.yml
- .github/labels.yml
- .github/workflows/label-sync.yml
jobs:
build:
name: Sync labels
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2.4.0
- uses: micnncim/action-label-syncer@v1.3.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
with:
manifest: .github/labels.yml
- uses: actions/checkout@v2.4.0
- uses: micnncim/action-label-syncer@v1.3.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
with:
manifest: .github/labels.yml

View file

@ -9,66 +9,66 @@ jobs:
issueLabeled:
runs-on: ubuntu-20.04
steps:
- name: Add backlog comment
uses: peter-evans/create-or-update-comment@v1.4.5
if: ${{ github.event.label.name == 'backlog' }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: >
This issue has been added to the backlog. It is not scheduled
on the Weblate roadmap, but it eventually might be implemented.
- name: Add backlog comment
uses: peter-evans/create-or-update-comment@v1.4.5
if: ${{ github.event.label.name == 'backlog' }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: >
This issue has been added to the backlog. It is not scheduled
on the Weblate roadmap, but it eventually might be implemented.


In case you need this feature soon, please consider helping
or push it by [funding the development](https://weblate.org/support/).
- name: Add undecided comment
uses: peter-evans/create-or-update-comment@v1.4.5
if: ${{ github.event.label.name == 'undecided' }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: >
This issue has been put aside. It is currently unclear if it will
ever be implemented as it seems to cover too narrow of a use case
or doesn't seem to fit into Weblate.
In case you need this feature soon, please consider helping
or push it by [funding the development](https://weblate.org/support/).
- name: Add undecided comment
uses: peter-evans/create-or-update-comment@v1.4.5
if: ${{ github.event.label.name == 'undecided' }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: >
This issue has been put aside. It is currently unclear if it will
ever be implemented as it seems to cover too narrow of a use case
or doesn't seem to fit into Weblate.


Please try to clarify the use case or consider proposing something more generic to make it useful to more users.
- name: Add question comment
uses: peter-evans/create-or-update-comment@v1.4.5
if: ${{ github.event.label.name == 'question' }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: >
This issue looks more like a support question than an
issue. We strive to answer these reasonably fast, but
[purchasing the support subscription](https://weblate.org/support/)
is not only more responsible and faster for your business but also makes Weblate stronger.
Please try to clarify the use case or consider proposing something more generic to make it useful to more users.
- name: Add question comment
uses: peter-evans/create-or-update-comment@v1.4.5
if: ${{ github.event.label.name == 'question' }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: >
This issue looks more like a support question than an
issue. We strive to answer these reasonably fast, but
[purchasing the support subscription](https://weblate.org/support/)
is not only more responsible and faster for your business but also makes Weblate stronger.


In case your question is already answered, [making a donation](https://weblate.org/donate/) is the right way to say thank you!
- name: Add translate-toolkit comment
uses: peter-evans/create-or-update-comment@v1.4.5
if: ${{ github.event.label.name == 'translate-toolkit' }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: >
The issue you've reported needs to be addressed in the [translate-toolkit](https://github.com/translate/translate/).
Please file the issue there, and include links to any relevant specifications about the formats (if applicable).
- name: Add good first issue comment
uses: peter-evans/create-or-update-comment@v1.4.5
if: ${{ github.event.label.name == 'good first issue' }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: >
This issue seems to be a good fit for newbie contributors.
You are welcome to contribute to Weblate! Don't hesitate to
ask any questions you would have while implementing this.
In case your question is already answered, [making a donation](https://weblate.org/donate/) is the right way to say thank you!
- name: Add translate-toolkit comment
uses: peter-evans/create-or-update-comment@v1.4.5
if: ${{ github.event.label.name == 'translate-toolkit' }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: >
The issue you've reported needs to be addressed in the [translate-toolkit](https://github.com/translate/translate/).
Please file the issue there, and include links to any relevant specifications about the formats (if applicable).
- name: Add good first issue comment
uses: peter-evans/create-or-update-comment@v1.4.5
if: ${{ github.event.label.name == 'good first issue' }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: >
This issue seems to be a good fit for newbie contributors.
You are welcome to contribute to Weblate! Don't hesitate to
ask any questions you would have while implementing this.


You can learn about how to get started in our
[contributors documentation](https://docs.weblate.org/en/latest/contributing/index.html).
You can learn about how to get started in our
[contributors documentation](https://docs.weblate.org/en/latest/contributing/index.html).

View file

@ -4,10 +4,10 @@ name: Pre-commit check
on:
push:
branches-ignore:
- "dependabot/**"
- "deepsource-fix-**"
- "renovate/**"
- weblate
- dependabot/**
- deepsource-fix-**
- renovate/**
- weblate
pull_request:

jobs:
@ -15,25 +15,25 @@ jobs:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2.4.0
- uses: actions/cache@v2.1.7
with:
path: |
~/.cache/pip
~/.cache/pre-commit
key: ${{ runner.os }}-pre-commit-${{ hashFiles('**/requirements*.txt') }}-${{ hashFiles('.pre-commit-config.yaml') }}
- name: Setup Python
uses: actions/setup-python@v2.3.1
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install -r requirements-lint.txt
- name: Install extras
run: |
if [ -x .github/pre-commit-extras ] ; then
.github/pre-commit-extras
fi
- name: pre-commit
run: pre-commit run --all
- uses: actions/checkout@v2.4.0
- uses: actions/cache@v2.1.7
with:
path: |
~/.cache/pip
~/.cache/pre-commit
key: ${{ runner.os }}-pre-commit-${{ hashFiles('**/requirements*.txt') }}-${{ hashFiles('.pre-commit-config.yaml') }}
- name: Setup Python
uses: actions/setup-python@v2.3.1
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install -r requirements-lint.txt
- name: Install extras
run: |
if [ -x .github/pre-commit-extras ] ; then
.github/pre-commit-extras
fi
- name: pre-commit
run: pre-commit run --all

View file

@ -12,6 +12,6 @@ jobs:
name: Weblate automerge
if: ${{ github.actor == 'weblate' || github.actor == 'pre-commit-ci[bot]' }}
steps:
- uses: actions-ecosystem/action-add-labels@v1.1.3
with:
labels: automerge
- uses: actions-ecosystem/action-add-labels@v1.1.3
with:
labels: automerge

View file

@ -1,14 +1,14 @@
# This file is maintained in https://github.com/WeblateOrg/meta/

name: "Close stale"
name: Close stale
on:
schedule:
- cron: "30 1 * * *"
- cron: 30 1 * * *
push:
branches:
- main
- main
paths:
- .github/workflows/stale.yml
- .github/workflows/stale.yml
workflow_dispatch:

jobs:
@ -19,25 +19,25 @@ jobs:
pull-requests: write

steps:
- uses: actions/stale@v4
with:
days-before-pr-stale: 30
days-before-pr-close: 14
days-before-stale: 10
days-before-close: 4
exempt-issue-labels: bug,enhancement,documentation,security
stale-issue-label: wontfix
stale-pr-label: wontfix
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: |
This issue has been automatically marked as stale because there wasnt any recent activity.
- uses: actions/stale@v4
with:
days-before-pr-stale: 30
days-before-pr-close: 14
days-before-stale: 10
days-before-close: 4
exempt-issue-labels: bug,enhancement,documentation,security
stale-issue-label: wontfix
stale-pr-label: wontfix
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: |
This issue has been automatically marked as stale because there wasnt any recent activity.

It will be closed soon if no further action occurs.
It will be closed soon if no further action occurs.

Thank you for your contributions!
stale-pr-message: |
This pull request has been automatically marked as stale because there wasnt any recent activity.
Thank you for your contributions!
stale-pr-message: |
This pull request has been automatically marked as stale because there wasnt any recent activity.

It will be closed soon if no further action occurs.
It will be closed soon if no further action occurs.

Thank you for your contributions!
Thank you for your contributions!

View file

@ -7,34 +7,34 @@ jobs:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v2.4.0
# Remove non-installable git packages. There git-svn can not be installed
# because the image contains newer versions which do not have matching git-svn
# in enabled repositories.
- name: APT cleanup
run: sudo apt-get purge git git-man
- name: Exim
run: sudo ./configure-system
- name: Bootstrap
run: |
sudo ./bootstrap <<EOT
weblate.example.com
CI Weblate
https://00000000000000000000000000000000@sentry.example.com/123
- name: APT cleanup
run: sudo apt-get purge git git-man
- name: Exim
run: sudo ./configure-system
- name: Bootstrap
run: |
sudo ./bootstrap <<EOT
weblate.example.com
CI Weblate
https://00000000000000000000000000000000@sentry.example.com/123

0
TOKEN
EOT
cat /etc/weblate-bootstrap
- name: Exim
run: sudo ./install-exim
- name: PostgreSQL
run: sudo ./install-posgtresql
- name: Weblate
run: sudo ./install-weblate --nocert
- name: Munin
run: sudo ./install-munin
- name: Upgrade
run: sudo ./upgrade-weblate --nodiff
- name: Upgrade (lazy restart)
run: sudo ./upgrade-weblate --nodiff --lazy-restart
0
TOKEN
EOT
cat /etc/weblate-bootstrap
- name: Exim
run: sudo ./install-exim
- name: PostgreSQL
run: sudo ./install-posgtresql
- name: Weblate
run: sudo ./install-weblate --nocert
- name: Munin
run: sudo ./install-munin
- name: Upgrade
run: sudo ./upgrade-weblate --nodiff
- name: Upgrade (lazy restart)
run: sudo ./upgrade-weblate --nodiff --lazy-restart

View file

@ -1,29 +1,38 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: requirements-txt-fixer
- id: check-merge-conflict
- id: mixed-line-ending
args: [--fix=lf]
- repo: https://github.com/adrienverge/yamllint
rev: v1.26.3
hooks:
- id: yamllint
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.5.1
hooks:
- id: prettier
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.8.0.3
hooks:
- id: shellcheck
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: requirements-txt-fixer
- id: check-merge-conflict
- id: mixed-line-ending
args: [--fix=lf]
- repo: https://github.com/adrienverge/yamllint
rev: v1.26.3
hooks:
- id: yamllint
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.2.0
hooks:
- id: pretty-format-yaml
args: [--autofix, --indent, '2']
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.13
hooks:
- id: mdformat
additional_dependencies:
- mdformat-gfm
- mdformat-black
- mdformat-shfmt
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.8.0.3
hooks:
- id: shellcheck

View file

@ -5,3 +5,5 @@ rules:
max: 500
level: error
document-start: disable
indentation:
indent-sequences: false