Skip to content

Commit

Permalink
Disable pre-commit linting
Browse files Browse the repository at this point in the history
  • Loading branch information
netsoft-ruidias committed Jun 28, 2022
1 parent 7fcddbf commit b84f9fe
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,28 @@ env:
DEFAULT_PYTHON: 3.9

jobs:
pre-commit:
runs-on: "ubuntu-latest"
name: Pre-commit
steps:
- name: Check out the repository
uses: actions/[email protected]

- name: Set up Python ${{ env.DEFAULT_PYTHON }}
uses: actions/[email protected]
with:
python-version: ${{ env.DEFAULT_PYTHON }}

- name: Upgrade pip
run: |
pip install --constraint=.github/workflows/constraints.txt pip
pip --version
- name: Install Python modules
run: |
pip install --constraint=.github/workflows/constraints.txt pre-commit black flake8 reorder-python-imports
- name: Run pre-commit on all files
run: |
pre-commit run --all-files --show-diff-on-failure --color=always
# pre-commit:
# runs-on: "ubuntu-latest"
# name: Pre-commit
# steps:
# - name: Check out the repository
# uses: actions/[email protected]

# - name: Set up Python ${{ env.DEFAULT_PYTHON }}
# uses: actions/[email protected]
# with:
# python-version: ${{ env.DEFAULT_PYTHON }}

# - name: Upgrade pip
# run: |
# pip install --constraint=.github/workflows/constraints.txt pip
# pip --version
# - name: Install Python modules
# run: |
# pip install --constraint=.github/workflows/constraints.txt pre-commit black flake8 reorder-python-imports
# - name: Run pre-commit on all files
# run: |
# pre-commit run --all-files --show-diff-on-failure --color=always

hacs:
runs-on: "ubuntu-latest"
Expand Down

0 comments on commit b84f9fe

Please sign in to comment.