-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: streamline project setup and configuration
- Simplified environment setup by updating .envrc and removing unnecessary Python-specific configurations. - Consolidated and centralized configuration files for MegaLinter and Renovate. - Removed redundant CI workflows and optimized MegaLinter workflow. - Updated .gitignore to exclude unnecessary LaTeX and Python-generated files. - Enhanced LaTeX formatting configuration and VSCode settings for better LaTeX support. - Removed outdated and redundant documentation and demo files. - Updated license information and Makefile to reflect current project structure. This refactor improves maintainability and reduces redundancy across the project.
- Loading branch information
Showing
86 changed files
with
267 additions
and
1,714 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
layout micromamba | ||
#!/bin/bash | ||
export TEXINPUTS=".:$PWD:" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY | ||
_commit: f98a063 | ||
_src_path: gh:liblaf/copier-share | ||
copyright_holder: liblaf | ||
license: MIT | ||
owner: liblaf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": ["config:recommended", "default:automergeAll"], | ||
"gitIgnoredAuthors": ["66853113+pre-commit-ci[bot]@users.noreply.github.com"] | ||
"extends": ["github>liblaf/.github:renovate-config"] | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,6 @@ name: MegaLinter | |
on: | ||
push: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
env: | ||
APPLY_FIXES: all | ||
|
@@ -19,7 +17,7 @@ concurrency: | |
cancel-in-progress: true | ||
|
||
jobs: | ||
megalinter: | ||
mega-linter: | ||
name: MegaLinter | ||
permissions: | ||
contents: write | ||
|
@@ -42,8 +40,6 @@ jobs: | |
# Common Variables | ||
MEGALINTER_CONFIG: .github/.mega-linter.yaml | ||
VALIDATE_ALL_CODEBASE: true | ||
# Linters | ||
PYTHON_PYRIGHT_DISABLE_ERRORS: true | ||
# Reporters | ||
TEXT_REPORTER: true | ||
GITHUB_COMMENT_REPORTER: true | ||
|
@@ -70,14 +66,6 @@ jobs: | |
- if: success() || failure() | ||
name: Add GitHub summary | ||
run: cat megalinter-reports/megalinter-report.md >> "$GITHUB_STEP_SUMMARY" | ||
- name: Remove MegaLinter reports | ||
run: >- | ||
sudo rm --force --recursive | ||
.checkov.yml | ||
.devskim.json | ||
kics.config | ||
mega-linter.log | ||
megalinter-reports/ | ||
- id: cpr | ||
if: >- | ||
steps.ml.outputs.has_updated_sources == 1 && | ||
|
@@ -95,8 +83,8 @@ jobs: | |
uses: peter-evans/create-pull-request@v7 | ||
with: | ||
token: ${{ github.token }} | ||
commit-message: "chore(MegaLinter): apply linters automatic fixes" | ||
title: "chore(MegaLinter): apply linters automatic fixes" | ||
commit-message: "chore(mega-linter): apply linters automatic fixes" | ||
title: "chore(mega-linter): apply linters automatic fixes" | ||
# TODO: add labels | ||
- if: >- | ||
steps.ml.outputs.has_updated_sources == 1 && | ||
|
@@ -145,12 +133,13 @@ jobs: | |
name: Commit and push applied linter fixes | ||
uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: "chore(mega-linter): apply linters fixes" | ||
branch: >- | ||
${{ | ||
github.event.pull_request.head.ref || | ||
github.head_ref || | ||
github.ref | ||
}} | ||
commit_message: "chore(MegaLinter): apply linters fixes" | ||
add_options: --update | ||
commit_user_name: megalinter-bot | ||
commit_user_email: [email protected] |
Oops, something went wrong.