Skip to content

Commit

Permalink
refactor: reformat Python code via ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
vergenzt committed Apr 25, 2024
1 parent 3e68d24 commit 5c5f782
Show file tree
Hide file tree
Showing 10 changed files with 863 additions and 864 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
repos:

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.1
hooks:
- id: ruff-format
6 changes: 3 additions & 3 deletions cogapp/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
""" Cog content generation tool.
http://nedbatchelder.com/code/cog
"""Cog content generation tool.
http://nedbatchelder.com/code/cog
Copyright 2004-2024, Ned Batchelder.
Copyright 2004-2024, Ned Batchelder.
"""

from .cogapp import Cog, CogUsageError, main
Loading

0 comments on commit 5c5f782

Please sign in to comment.