From 3a3002cfe2cb812415e48164e1783a9adecbb16d Mon Sep 17 00:00:00 2001 From: Rezaul Karim Shaon Date: Sat, 3 Aug 2024 15:27:26 +0600 Subject: [PATCH 1/2] github action --- .github/workflows/lint.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 639416a..73afa39 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -3,10 +3,10 @@ name: Lint Python Code on: push: branches: - - main + - master pull_request: branches: - - main + - master jobs: lint: From 67831e2fed20bbdc8a88e6d5a75bfe0093d2511f Mon Sep 17 00:00:00 2001 From: Rezaul Karim Shaon Date: Sat, 3 Aug 2024 15:32:12 +0600 Subject: [PATCH 2/2] github action --- backend/.flake8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/.flake8 b/backend/.flake8 index 8cb9094..79e4889 100644 --- a/backend/.flake8 +++ b/backend/.flake8 @@ -12,4 +12,4 @@ # H405: multi line docstring summary not separated with an empty line # H501: Do not use self.__dict__ for string formatting ; ignore = F812,H101,H202,H233,H301,H306,H401,H403,H404,H405,H501 -exclude = __pycache__,tests.py, migrations,env \ No newline at end of file +exclude = __pycache__,tests.py,migrations,env,user_api/migrations,user_api/tests.py \ No newline at end of file