mirror of
https://github.com/ivuorinen/aeonview.git
synced 2026-03-14 03:58:42 +00:00
fix: resolve MegaLinter YAML and markdown lint failures (#7)
This commit is contained in:
6
.github/CONTRIBUTING.md
vendored
6
.github/CONTRIBUTING.md
vendored
@@ -6,12 +6,14 @@ This guide will help you get started.
|
|||||||
## 🛠 Project Setup
|
## 🛠 Project Setup
|
||||||
|
|
||||||
1. Clone the repository:
|
1. Clone the repository:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/your-username/aeonview.git
|
git clone https://github.com/your-username/aeonview.git
|
||||||
cd aeonview
|
cd aeonview
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Set up your environment:
|
2. Set up your environment:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
python3 -m venv venv
|
python3 -m venv venv
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
@@ -19,6 +21,7 @@ This guide will help you get started.
|
|||||||
```
|
```
|
||||||
|
|
||||||
3. Install pre-commit hooks:
|
3. Install pre-commit hooks:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pre-commit install
|
pre-commit install
|
||||||
```
|
```
|
||||||
@@ -46,17 +49,20 @@ make lint # check for lint errors
|
|||||||
## ✅ Submitting a Pull Request
|
## ✅ Submitting a Pull Request
|
||||||
|
|
||||||
1. Create a feature branch:
|
1. Create a feature branch:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git checkout -b feature/my-new-feature
|
git checkout -b feature/my-new-feature
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Commit your changes:
|
2. Commit your changes:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git add .
|
git add .
|
||||||
git commit -m "feat: add support for X"
|
git commit -m "feat: add support for X"
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Push and open a pull request:
|
3. Push and open a pull request:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git push origin feature/my-new-feature
|
git push origin feature/my-new-feature
|
||||||
```
|
```
|
||||||
|
|||||||
4
.github/workflows/pr-lint.yml
vendored
4
.github/workflows/pr-lint.yml
vendored
@@ -1,5 +1,7 @@
|
|||||||
---
|
---
|
||||||
|
# yamllint disable rule:line-length
|
||||||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
||||||
|
# yamllint enable rule:line-length
|
||||||
name: PR Lint
|
name: PR Lint
|
||||||
|
|
||||||
# yamllint disable-line rule:truthy
|
# yamllint disable-line rule:truthy
|
||||||
@@ -26,4 +28,6 @@ jobs:
|
|||||||
statuses: write
|
statuses: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
# yamllint disable rule:line-length
|
||||||
- uses: ivuorinen/actions/pr-lint@edb5db7b564801bc35bcd5b7667c185760d05fdd # 25.4.28
|
- uses: ivuorinen/actions/pr-lint@edb5db7b564801bc35bcd5b7667c185760d05fdd # 25.4.28
|
||||||
|
# yamllint enable rule:line-length
|
||||||
|
|||||||
4
.github/workflows/python-tests.yml
vendored
4
.github/workflows/python-tests.yml
vendored
@@ -1,5 +1,7 @@
|
|||||||
|
---
|
||||||
name: Python tests
|
name: Python tests
|
||||||
|
|
||||||
|
# yamllint disable-line rule:truthy
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main, master]
|
branches: [main, master]
|
||||||
@@ -14,9 +16,11 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
# yamllint disable-line rule:line-length
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
|
# yamllint disable-line rule:line-length
|
||||||
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
||||||
with:
|
with:
|
||||||
python-version: "3.13.2"
|
python-version: "3.13.2"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/asottile/pyupgrade
|
- repo: https://github.com/asottile/pyupgrade
|
||||||
rev: v3.19.1
|
rev: v3.19.1
|
||||||
|
|||||||
Reference in New Issue
Block a user