Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit 502aa03

Browse files
Atualização completa do projeto de SQS Light
1 parent 34e2c2e commit 502aa03

File tree

118 files changed

+2457
-1235
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+2457
-1235
lines changed

examples/lambda_sqs_light/.coveragerc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
source =
44
./chalicelib/
55
./flask_app/
6-
./lambda_app/
6+
./flambda_app/
77
./app.py
88

99
[run]

examples/lambda_sqs_light/.editorconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ insert_final_newline = true
1414
trim_trailing_whitespace = true
1515
end_of_line = lf
1616
charset = utf-8
17-
max_line_length = 119
17+
max_line_length = 100
1818

1919

2020
[{*.jhm, *.xslt, *.xul, *.rng, *.xsl, *.xsd, *.ant, *.tld, *.fxml, *.jrxml, *.xml, *.jnlp, *.wsdl}]
@@ -59,11 +59,11 @@ trim_trailing_whitespace = false
5959
# Use 4 spaces for the Python files
6060
[*.php]
6161
indent_size = 4
62-
max_line_length = 120
62+
max_line_length = 100
6363

6464
[*.twig]
6565
indent_size = 4
66-
max_line_length = 120
66+
max_line_length = 100
6767

6868
# The JSON files contain newlines inconsistently
6969
[*.json]
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Build
2+
on:
3+
push:
4+
branches:
5+
- production
6+
pull_request:
7+
types: [opened, synchronize, reopened]
8+
jobs:
9+
sonarcloud:
10+
name: SonarCloud
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
with:
15+
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
16+
- name: SonarCloud Scan
17+
uses: SonarSource/sonarcloud-github-action@master
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
20+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

examples/lambda_sqs_light/.gitignore

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ venv
2727
/.coverage
2828

2929
# mantem a vendor
30-
!/vendor
30+
!vendor
3131
# ignora os demais arquivos
32-
/vendor/*
32+
vendor/*
3333
# mantem essa pasta
3434
!/vendor/public
3535
# mantem essa pasta
@@ -65,3 +65,10 @@ config/integration.en
6565
output/response.json
6666
/output/
6767
/include/
68+
/life-cycle-service-manager-recovery.zip
69+
/env/integration.env
70+
/env/production.env
71+
/env/staging.env
72+
/env/_staging.env
73+
/env/_integration.env
74+
/env/_production.env

examples/lambda_sqs_light/.pep8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[pycodestyle]
2-
max_line_length = 120
2+
max_line_length = 100
33
ignore = E501

examples/lambda_sqs_light/.pylint

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ disable=raw-checker-failed,
9090
suppressed-message,
9191
useless-suppression,
9292
deprecated-pragma,
93-
use-symbolic-message-instead
93+
use-symbolic-message-instead,
94+
logging-fstring-interpolation,
95+
logging-format-interpolation
9496

9597
# Enable the message, report, category or checker with the given id(s). You can
9698
# either give multiple identifier separated by comma (,) or put this option
@@ -140,7 +142,8 @@ never-returning-functions=sys.exit,argparse.parse_error
140142

141143
# The type of string formatting that logging methods do. `old` means using %
142144
# formatting, `new` is for `{}` formatting.
143-
logging-format-style=old
145+
# https://stackoverflow.com/questions/34619790/pylint-message-logging-format-interpolation
146+
logging-format-style=new
144147

145148
# Logging modules to check that the string format arguments are in logging
146149
# function parameter format.

0 commit comments

Comments
 (0)