diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index 4b6d3a6d..5ae64dab 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -1,2 +1,6 @@ # Run code through autopep8 482f6e642f4e7a4a2a6f82fe5f1dd739af6b61e8 + +# Run code through black +af5dbfc6d12716cd91155e8c85fa350b13c28d8e +0c3b4f8a61617f66956c71f206b961a5ced0d5ab diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index 41e33be4..e8c80d4d 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -8,3 +8,39 @@ jobs: steps: - uses: actions/checkout@v2 - uses: psf/black@stable + +# This workflow will install Python dependencies, run tests and lint with a single version of Python +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python + +#name: pep8 check + +#on: +# push: +# branches: [ "main" ] +# pull_request: +# branches: [ "main" ] + +#permissions: +# contents: read + +#jobs: +# check: + +# runs-on: ubuntu-latest + +# steps: +# - uses: actions/checkout@v3 +# - name: Set up Python 3.10 +# uses: actions/setup-python@v3 +# with: +# python-version: "3.10" +# - name: Install dependencies +# run: | +# python -m pip install --upgrade pip +# python -m pip install pycodestyle +# - name: Pep8 Check +# run: | +# ls +# pwd +# lscpu +# pycodestyle mcdc diff --git a/.github/workflows/pep8-check.yml b/.github/workflows/pep8-check.yml deleted file mode 100644 index c6d4ec59..00000000 --- a/.github/workflows/pep8-check.yml +++ /dev/null @@ -1,35 +0,0 @@ -# This workflow will install Python dependencies, run tests and lint with a single version of Python -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python - -#name: pep8 check - -#on: -# push: -# branches: [ "main" ] -# pull_request: -# branches: [ "main" ] - -#permissions: -# contents: read - -#jobs: -# check: - -# runs-on: ubuntu-latest - -# steps: -# - uses: actions/checkout@v3 -# - name: Set up Python 3.10 -# uses: actions/setup-python@v3 -# with: -# python-version: "3.10" -# - name: Install dependencies -# run: | -# python -m pip install --upgrade pip -# python -m pip install pycodestyle -# - name: Pep8 Check -# run: | -# ls -# pwd -# lscpu -# pycodestyle mcdc