Skip to content

Commit 83f0dbe

Browse files
authored
Merge pull request #43 from unixorn/update-github-tooling
Add .pre-commit-config.yaml
2 parents d427d0f + c0e1926 commit 83f0dbe

9 files changed

+491
-326
lines changed

Diff for: .github/ISSUE_TEMPLATE/bug_report.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
2+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3+
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
4+
5+
- [Describe the bug](#describe-the-bug)
6+
- [Expected behavior](#expected-behavior)
7+
- [Desktop (please complete the following information):](#desktop-please-complete-the-following-information)
8+
- [Additional context](#additional-context)
9+
10+
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
11+
112
---
213
name: Bug report
314
about: Create a report to help us improve

Diff for: .github/ISSUE_TEMPLATE/feature_request.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
2+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3+
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
4+
5+
- [Is your feature request related to a problem? Please describe.](#is-your-feature-request-related-to-a-problem-please-describe)
6+
- [Describe the solution you'd like](#describe-the-solution-youd-like)
7+
- [Describe alternatives you've considered](#describe-alternatives-youve-considered)
8+
- [Additional context](#additional-context)
9+
10+
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
11+
112
---
213
name: Feature request
314
about: Suggest an idea for this project

Diff for: .github/PULL_REQUEST_TEMPLATE.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
2+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3+
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
4+
5+
- [Description](#description)
6+
- [Type of changes](#type-of-changes)
7+
- [Checklist](#checklist)
8+
- [License Acceptance](#license-acceptance)
9+
10+
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
11+
112
<!--- Provide a general summary of your changes in the Title above -->
213

314
# Description

Diff for: .github/workflows/awesomebot.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ jobs:
1515
- uses: actions/checkout@v4
1616
- uses: docker://dkhamsing/awesome_bot:latest
1717
with:
18-
args: /github/workspace/README.md --allow-dupe --allow-redirect --request-delay 1 --white-list https://github,https://img.shields.io
18+
args: /github/workspace/README.md --allow-dupe --allow-redirect --request-delay 1 --white-list https://github,https://img.shields.io

Diff for: .github/workflows/megalinter.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,11 @@ jobs:
5555
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5656
DISABLE_LINTERS: SPELL_CSPELL
5757
# SPELL_MISSPELL_FILTER_REGEX_EXCLUDE: '(\.yml)'
58-
58+
ACTION_ACTIONLINT_DISABLE_ERRORS: true
59+
REPOSITORY_CHECKOV_DISABLE_ERRORS: true
60+
REPOSITORY_KICS_DISABLE_ERRORS: true
61+
REPOSITORY_TRIVY_DISABLE_ERRORS: true
62+
YAML_YAMLLINT_DISABLE_ERRORS: true
5963
# Upload Mega-Linter artifacts. They will be available on Github action page "Artifacts" section
6064
- name: Archive production artifacts
6165
if: ${{ success() }} || ${{ failure() }}

Diff for: .pre-commit-config.yaml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
# See https://pre-commit.com for more information
3+
# See https://pre-commit.com/hooks.html for more hooks
4+
ci:
5+
skip:
6+
- poetry-lock
7+
repos:
8+
- repo: https://github.com/pre-commit/pre-commit-hooks
9+
rev: v5.0.0
10+
hooks:
11+
- id: check-added-large-files
12+
- id: check-docstring-first
13+
- id: check-executables-have-shebangs
14+
- id: check-merge-conflict
15+
- id: check-shebang-scripts-are-executable
16+
- id: check-symlinks
17+
- id: debug-statements
18+
- id: end-of-file-fixer
19+
- id: trailing-whitespace
20+
- repo: https://github.com/astral-sh/ruff-pre-commit
21+
# Ruff version.
22+
rev: v0.11.0
23+
hooks:
24+
# Run the linter.
25+
- id: ruff
26+
args:
27+
- "--fix"
28+
# Run the formatter.
29+
- id: ruff-format
30+
- repo: https://github.com/thlorenz/doctoc
31+
rev: v2.2.0
32+
hooks:
33+
- id: doctoc
34+
- repo: https://github.com/python-poetry/poetry
35+
rev: 2.1.1
36+
hooks:
37+
- id: poetry-check
38+
- id: poetry-lock

Diff for: Changelog.md

+16-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
2+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3+
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
4+
5+
- [Lima Xbar/Swiftbar changelog](#lima-xbarswiftbar-changelog)
6+
- [0.0.1 - 1.0.0](#001---100)
7+
- [1.1.1](#111)
8+
- [1.2.0](#120)
9+
- [1.3.0](#130)
10+
- [1.3.1](#131)
11+
- [1.3.2](#132)
12+
- [1.3.3](#133)
13+
14+
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
15+
116
# Lima Xbar/Swiftbar changelog
217

318
## 0.0.1 - 1.0.0
@@ -34,4 +49,4 @@ dd more candidate directories to be added to $PATH
3449
is installed in a user's home directory. Closes https://github.com/unixorn/lima-xbar-plugin/issues/28
3550
- While we're in there, check for `/usr/local/sbin`,
3651
`/opt/homebrew/sbin`, `/opt/local/sbin`, `~/bin` and `~/sbin`
37-
directories too.
52+
directories too.

Diff for: README.md

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
## Table of Contents
1313

1414
- [Description](#description)
15+
- [Screen shots](#screen-shots)
16+
- [Theme](#theme)
1517
- [Installation](#installation)
1618
- [Dependencies](#dependencies)
1719

0 commit comments

Comments
 (0)