Skip to content

Commit

Permalink
Change: Replace pylint with ruff
Browse files Browse the repository at this point in the history
Ruff is just faster.
  • Loading branch information
bjoernricks committed Jul 17, 2023
1 parent 590d4c0 commit 14781e2
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 213 deletions.
2 changes: 2 additions & 0 deletions autohooks/plugins/black/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.

from .black import precommit

__all__ = ("precommit",)
2 changes: 1 addition & 1 deletion autohooks/plugins/black/black.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

def check_black_installed() -> None:
try:
import black # pylint: disable=unused-import, import-outside-toplevel
import black # pylint: disable=unused-import, import-outside-toplevel # noqa: F401,E501
except ImportError:
raise RuntimeError(
"Could not find black. "
Expand Down
Loading

0 comments on commit 14781e2

Please sign in to comment.