Skip to content

Commit

Permalink
Add Black
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoon committed Jul 30, 2024
1 parent 9ceb30d commit 6655ac1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,25 @@ on:
branches:
- main
- develop
pull_request:
branches:
- main
- develop

permissions:
contents: read

jobs:

black-format:
name: Black Formatter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: rickstaa/action-black@v1
with:
black_args: ". --check"

deploy:

runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def parse_requirements(filename):

setup(
name="ratchada_utils",
version="2.2.0",
version="2.2.1",
packages=find_packages(include=["ratchada_utils", "ratchada_utils.*"]),
package_data={
"ratchada_utils.processor": ["*.json", "*.py"],
Expand Down

0 comments on commit 6655ac1

Please sign in to comment.