Skip to content

Commit

Permalink
ci: comment out unnecessary steps in pre-commit workflow and clean up…
Browse files Browse the repository at this point in the history
… configuration files

Signed-off-by: asa-naki <[email protected]>
  • Loading branch information
asa-naki committed Nov 19, 2024
1 parent 0a1a53e commit 59bb1fa
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 93 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,8 @@ on:
pull_request:
jobs:
pre-commit:
# if: ${{ github.event.repository.private }}
runs-on: ubuntu-latest
steps:
# - name: Generate token
# id: generate-token
# uses: tibdex/github-app-token@v1
# with:
# app_id: ${{ secrets.APP_ID }}
# private_key: ${{ secrets.PRIVATE_KEY }}

- name: Check out repository
uses: actions/checkout@v3
Expand All @@ -21,11 +14,8 @@ jobs:

- name: Set git config
uses: autowarefoundation/autoware-github-actions/set-git-config@v1
# with:
# token: ${{ steps.generate-token.outputs.token }}

- name: Run pre-commit
uses: autowarefoundation/autoware-github-actions/pre-commit@v1
with:
pre-commit-config: .pre-commit-config.yaml
# token: ${{ steps.generate-token.outputs.token }}
75 changes: 0 additions & 75 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,82 +1,7 @@
# ci:
# autofix_commit_msg: "ci(pre-commit): autofix"
# autoupdate_commit_msg: "ci(pre-commit): autoupdate"

repos:
# - repo: https://github.com/pre-commit/pre-commit-hooks
# rev: v4.1.0
# hooks:
# - id: check-json
# - id: check-merge-conflict
# - id: check-toml
# - id: check-xml
# - id: check-yaml
# args: [--unsafe]
# - id: detect-private-key
# - id: end-of-file-fixer
# - id: mixed-line-ending
# - id: trailing-whitespace
# args: [--markdown-linebreak-ext=md]

# - repo: https://github.com/igorshubovych/markdownlint-cli
# rev: v0.31.1
# hooks:
# - id: markdownlint
# args: [-c, .markdownlint.yaml, --fix]

# - repo: https://github.com/pre-commit/mirrors-prettier
# rev: v2.6.2
# hooks:
# - id: prettier

# - repo: https://github.com/adrienverge/yamllint
# rev: v1.26.3
# hooks:
# - id: yamllint

- repo: https://github.com/tier4/pre-commit-hooks-ros
rev: v0.8.0
hooks:
- id: flake8-ros
# - id: prettier-xacro
# - id: prettier-launch-xml
# - id: prettier-package-xml
# - id: sort-package-xml
# - id: ros-include-guard

# - repo: https://github.com/shellcheck-py/shellcheck-py
# rev: v0.8.0.4
# hooks:
# - id: shellcheck

# - repo: https://github.com/scop/pre-commit-shfmt
# rev: v3.4.3-1
# hooks:
# - id: shfmt
# args: [-w, -s, -i=4]

# - repo: https://github.com/pycqa/isort
# rev: 5.12.0
# hooks:
# - id: isort

# - repo: https://github.com/psf/black
# rev: 22.3.0
# hooks:
# - id: black
# args: [--line-length=100]

# - repo: https://github.com/pre-commit/mirrors-clang-format
# rev: v13.0.1
# hooks:
# - id: clang-format
# types_or: [c++, c, cuda]

# - repo: https://github.com/cpplint/cpplint
# rev: 1.6.0
# hooks:
# - id: cpplint
# args: [--quiet]
# exclude: .cu

exclude: .svg
8 changes: 0 additions & 8 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,3 @@ import-order-style = google
max-line-length = 100
show-source = true
statistics = true

# [isort]
# profile=black
# line_length=100
# force_sort_within_sections=true
# force_single_line=true
# reverse_relative=true
# known_third_party=launch

0 comments on commit 59bb1fa

Please sign in to comment.