Skip to content

Commit

Permalink
Added github actions setup for black formatter. (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
Daquiver1 authored Oct 25, 2023
1 parent 2b8801b commit 7048d6f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Lint Codebase

on: [push, pull_request]

jobs:
lint_codebase:
name: Lint and format codebase
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3
- uses: psf/black@stable
with:
options: "--check --verbose"
src: "./projects/jdwp"


6 changes: 4 additions & 2 deletions projects/jdwp/main.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Copyright (c) Meta Platforms, Inc. and affiliates.


def main():
return None
return None


if __name__ == "__main__":
main()
main()

0 comments on commit 7048d6f

Please sign in to comment.