Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove black from codestyle workflow #2853

Merged
merged 2 commits into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading