Skip to content

Commit

Permalink
Migrate from black/blackdoc/flake8/pylint to ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Mar 27, 2024
1 parent 194f9fd commit 6281ac3
Show file tree
Hide file tree
Showing 14 changed files with 204 additions and 173 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install -r requirements.txt
python -m pip install black blackdoc flake8 isort
python -m pip install ruff
- name: Check code style
run: make check
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install -r requirements.txt
python -m pip install build pytest>=6.0 pytest-cov coverage[toml] codecov
python -m pip install build pytest pytest-cov coverage[toml] codecov
python -m build --sdist
python -m pip install dist/*
Expand Down
3 changes: 1 addition & 2 deletions HinetPy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# noqa: N999
"""
HinetPy
=======
Expand All @@ -17,8 +18,6 @@
>>> win32.extract_sacpz(ctable)
"""

# pylint: disable=invalid-name

from importlib.metadata import version

from .client import Client
Expand Down
Loading

0 comments on commit 6281ac3

Please sign in to comment.