diff --git a/.coderabbit.yml b/.coderabbit.yml new file mode 100644 index 0000000..4ce1887 --- /dev/null +++ b/.coderabbit.yml @@ -0,0 +1,5 @@ +reviews: + tools: + github-checks: + enabled: true + timeout_ms: 900000 \ No newline at end of file diff --git a/.github/workflows/comment.yml b/.github/workflows/comment.yml new file mode 100644 index 0000000..7c394ca --- /dev/null +++ b/.github/workflows/comment.yml @@ -0,0 +1,28 @@ +name: Auto Comment on PR + +on: + pull_request: + types: [*] # Triggers on all pull request events + # pull_request: + # types: [opened] + + workflow_dispatch: + +jobs: + comment: + runs-on: ubuntu-latest + steps: + # - name: trigger pr + # uses: peter-evans/create-or-update-comment@v4 + # with: + # issue-number: ${{ github.event.pull_request.number }} + # body: | + # @coderabbitai full review + # - name: trigger pr + # uses: peter-evans/create-or-update-comment@v4 + # with: + # issue-number: ${{ github.event.pull_request.number }} + # body: | + # @coderabbitai sing me a song + - name: Wait 300 sec for timeout + run: sleep 300 diff --git a/.github/workflows/linters.yaml b/.github/workflows/linters.yaml index 13c372c..320d41c 100644 --- a/.github/workflows/linters.yaml +++ b/.github/workflows/linters.yaml @@ -36,4 +36,4 @@ jobs: run: pip install black - name: Run black check - run: black --check . + run: sleep 200 && black --diff . && black --check . diff --git a/app.py b/app.py index d40c221..fbaac6a 100644 --- a/app.py +++ b/app.py @@ -19,6 +19,10 @@ from routes.wow import wow_bp from utils.security import add_security_headers, return_safe_html +a=1 + + + # Enable Datadog tracing patch_all() profiler = Profiler() @@ -920,7 +924,7 @@ def ffxiv_scrip_exchange(): if __name__ == "__main__": - app.run(host="0.0.0.0") + app.run(host="0.0.0.0" # for testing