und1n3 / gym-booking-bot

Telegram bot with AWS integration to automatically manage gym classes bookings
GNU General Public License v3.0
1 stars 0 forks source link

Add poetry and pre-commit #7

Open eloymg opened 1 month ago

eloymg commented 1 month ago

Add poetry and pre-commit and run ruff

github-actions[bot] commented 1 month ago
Stack TelegramBotStack
Hold on while we create a read-only change set to get a diff with accurate replacement information (use --no-change-set to use a less accurate but faster template-only diff)
Resources
[~] AWS::Lambda::Function GymBookingLambda GymBookingLambda34DC254F 
 └─ [~] Code
     └─ [~] .S3Key:
-        ├─ [-] a787e61bff486fb6e995ffa3d0851208b6d829dc5d0e4f2cda7ee0fad69d2f3f.zip
+        └─ [+] 4750a825573997134e26746a67d966589a598a8c48c727e78d7067ba0fd6007b.zip
[~] AWS::Lambda::Function TelegramBotHandler TelegramBotHandler6FE347C0 
 └─ [~] Code
     └─ [~] .S3Key:
-        ├─ [-] 61bc08dd87f8e07a52f49f3b2ee38ba432a13baa3cfafd3a39383e17720a7883.zip
+        └─ [+] c63af862e96eff67084ee96fc8c5c46eaa11ac2b3910559b3b790a6f904f74b4.zip

✨  Number of stacks with differences: 1
github-actions[bot] commented 1 month ago
Stack TelegramBotStack
Hold on while we create a read-only change set to get a diff with accurate replacement information (use --no-change-set to use a less accurate but faster template-only diff)
Resources
[~] AWS::Lambda::Function GymBookingLambda GymBookingLambda34DC254F 
 └─ [~] Code
     └─ [~] .S3Key:
-        ├─ [-] a787e61bff486fb6e995ffa3d0851208b6d829dc5d0e4f2cda7ee0fad69d2f3f.zip
+        └─ [+] 4750a825573997134e26746a67d966589a598a8c48c727e78d7067ba0fd6007b.zip
[~] AWS::Lambda::Function TelegramBotHandler TelegramBotHandler6FE347C0 
 └─ [~] Code
     └─ [~] .S3Key:
-        ├─ [-] 61bc08dd87f8e07a52f49f3b2ee38ba432a13baa3cfafd3a39383e17720a7883.zip
+        └─ [+] c63af862e96eff67084ee96fc8c5c46eaa11ac2b3910559b3b790a6f904f74b4.zip

✨  Number of stacks with differences: 1
github-actions[bot] commented 1 month ago
Stack TelegramBotStack
Hold on while we create a read-only change set to get a diff with accurate replacement information (use --no-change-set to use a less accurate but faster template-only diff)
Resources
[~] AWS::Lambda::Function GymBookingLambda GymBookingLambda34DC254F 
 └─ [~] Code
     └─ [~] .S3Key:
-        ├─ [-] a787e61bff486fb6e995ffa3d0851208b6d829dc5d0e4f2cda7ee0fad69d2f3f.zip
+        └─ [+] 4750a825573997134e26746a67d966589a598a8c48c727e78d7067ba0fd6007b.zip
[~] AWS::Lambda::Function TelegramBotHandler TelegramBotHandler6FE347C0 
 └─ [~] Code
     └─ [~] .S3Key:
-        ├─ [-] 61bc08dd87f8e07a52f49f3b2ee38ba432a13baa3cfafd3a39383e17720a7883.zip
+        └─ [+] c63af862e96eff67084ee96fc8c5c46eaa11ac2b3910559b3b790a6f904f74b4.zip

✨  Number of stacks with differences: 1
github-actions[bot] commented 1 month ago
Stack TelegramBotStack
Hold on while we create a read-only change set to get a diff with accurate replacement information (use --no-change-set to use a less accurate but faster template-only diff)
Resources
[~] AWS::Lambda::Function GymBookingLambda GymBookingLambda34DC254F 
 └─ [~] Code
     └─ [~] .S3Key:
-        ├─ [-] a787e61bff486fb6e995ffa3d0851208b6d829dc5d0e4f2cda7ee0fad69d2f3f.zip
+        └─ [+] 4750a825573997134e26746a67d966589a598a8c48c727e78d7067ba0fd6007b.zip
[~] AWS::Lambda::Function TelegramBotHandler TelegramBotHandler6FE347C0 
 └─ [~] Code
     └─ [~] .S3Key:
-        ├─ [-] 61bc08dd87f8e07a52f49f3b2ee38ba432a13baa3cfafd3a39383e17720a7883.zip
+        └─ [+] c63af862e96eff67084ee96fc8c5c46eaa11ac2b3910559b3b790a6f904f74b4.zip

✨  Number of stacks with differences: 1

NOTICES         (What's this? https:  github.com aws aws-cdk wiki CLI-Notices)

30444   (apigateway): breaking change in RestApi instances with CognitoUserPoolsAuthorizer

    Overview: A change was added to the ApiGateway Method construct to
              only allow authorization scopes for cognito authorization
              type, this change broke the way to set the authorization
              scopes, and it will be empty if the customer does not
              explicitly set the  property while
              defining the API default method options, or while adding a
              new method. This issue introduced in CDK version .
              The workaround is to either pin the  to version
               or, to update the  construct
              initialization to explicitly set the authorizationType in
               property to COGNITO.

    Affected versions: aws-cdk-lib.aws_apigateway.: >=2.142.0 <= 2.148.1

    More information at: https:  github.com aws aws-cdk issues 30444

If you don’t want to see a notice anymore, use  cdk acknowledge <id> . For example,  cdk acknowledge 30444 .