Skip to content

Commit

Permalink
removing lynting from flake8, start at switch to black
Browse files Browse the repository at this point in the history
  • Loading branch information
scfleming committed Jan 15, 2025
1 parent 2731f24 commit 7dab1ed
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Lint

on: [push, pull_request]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
5 changes: 0 additions & 5 deletions .github/workflows/ci_workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,6 @@ jobs:
matrix:
include:

- name: Code style checks
os: ubuntu-latest
python: 3.x
toxenv: codestyle

- name: (Allowed Failure) Python 3.11 with dev version of key dependencies
os: ubuntu-latest
python: 3.11
Expand Down
7 changes: 0 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,3 @@ description = check the links in the HTML docs
extras = docs
commands =
sphinx-build -b linkcheck . _build/html

[testenv:codestyle]
skip_install = true
changedir = .
description = check code style, e.g. with flake8
deps = flake8
commands = flake8 astronify --count --show-source --statistics --ignore=W291,W293,W391,E303,E266,E226,W504 --max-line-length=120 --exclude=astronify/conftest.py

0 comments on commit 7dab1ed

Please sign in to comment.