Skip to content

Commit

Permalink
Remove black from codestyle workflow (#2853)
Browse files Browse the repository at this point in the history
* remove black from codestyle workflow

* Remove black configuration
  • Loading branch information
KasukabeDefenceForce authored Oct 14, 2024
1 parent b3af245 commit e0bcb74
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 49 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,31 +18,6 @@ defaults:
shell: bash -l {0}

jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
if: github.event_name == 'push'
with:
fetch-depth: 0

- name: Checkout PR and master branch
if: github.event_name == 'pull_request_target'
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.x

- name: Install Black
run: pip install black==22.3

- name: Run Black
run: black --check tardis
ruff:
runs-on: ubuntu-latest
steps:
Expand Down
24 changes: 0 additions & 24 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,30 +29,6 @@ requires = ["setuptools",
"wheel"]
build-backend = "setuptools.build_meta"

[tool.black]
line-length = 80
target-version = ["py36"]
exclude = '''
(
/(
\.eggs # all directories in the root of the project
| \.git
| \.hg
| \.mypy_cache
| \.nox
| \.tox
| \.venv
| \.svn
| _build
| buck-out
| build
| dist
)/
| docs/conf.py
| _astropy_init.py
)
'''

[tool.interrogate]
color = true
#exclude = ["docs", "build"]
Expand Down

0 comments on commit e0bcb74

Please sign in to comment.