Skip to content

Commit a5ef131

Browse files
committed
feat(project): initial checkin
0 parents  commit a5ef131

29 files changed

+2069
-0
lines changed

.flake8

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[flake8]
2+
ignore = E203, E266, W503, BLK100, W291, I004
3+
max-line-length = 120
4+
max-complexity = 15
5+
6+
[isort]
7+
multi_line_output = 3
8+
include_trailing_comma = true
9+
force_grid_wrap = 0
10+
use_parentheses = true
11+
line_length = 120

.gitignore

+316
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,316 @@
1+
# Created by https://www.gitignore.io/api/osx,linux,python,windows,pycharm,visualstudiocode
2+
# Edit at https://www.gitignore.io/?templates=osx,linux,python,windows,pycharm,visualstudiocode
3+
4+
# Must ignore requirements.txt - these will be generated
5+
requirements.txt
6+
7+
### Linux ###
8+
*~
9+
10+
# temporary files which can be created if a process still has a handle open of a deleted file
11+
.fuse_hidden*
12+
13+
# KDE directory preferences
14+
.directory
15+
16+
# Linux trash folder which might appear on any partition or disk
17+
.Trash-*
18+
19+
# .nfs files are created when an open file is removed but is still being accessed
20+
.nfs*
21+
22+
### OSX ###
23+
# General
24+
.DS_Store
25+
.AppleDouble
26+
.LSOverride
27+
28+
# Icon must end with two \r
29+
Icon
30+
31+
# Thumbnails
32+
._*
33+
34+
# Files that might appear in the root of a volume
35+
.DocumentRevisions-V100
36+
.fseventsd
37+
.Spotlight-V100
38+
.TemporaryItems
39+
.Trashes
40+
.VolumeIcon.icns
41+
.com.apple.timemachine.donotpresent
42+
43+
# Directories potentially created on remote AFP share
44+
.AppleDB
45+
.AppleDesktop
46+
Network Trash Folder
47+
Temporary Items
48+
.apdisk
49+
50+
### PyCharm ###
51+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
52+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
53+
54+
# User-specific stuff
55+
.idea/**/workspace.xml
56+
.idea/**/tasks.xml
57+
.idea/**/usage.statistics.xml
58+
.idea/**/dictionaries
59+
.idea/**/shelf
60+
61+
# Generated files
62+
.idea/**/contentModel.xml
63+
64+
# Sensitive or high-churn files
65+
.idea/**/dataSources/
66+
.idea/**/dataSources.ids
67+
.idea/**/dataSources.local.xml
68+
.idea/**/sqlDataSources.xml
69+
.idea/**/dynamic.xml
70+
.idea/**/uiDesigner.xml
71+
.idea/**/dbnavigator.xml
72+
73+
# Gradle
74+
.idea/**/gradle.xml
75+
.idea/**/libraries
76+
77+
# Gradle and Maven with auto-import
78+
# When using Gradle or Maven with auto-import, you should exclude module files,
79+
# since they will be recreated, and may cause churn. Uncomment if using
80+
# auto-import.
81+
# .idea/modules.xml
82+
# .idea/*.iml
83+
# .idea/modules
84+
# *.iml
85+
# *.ipr
86+
87+
# CMake
88+
cmake-build-*/
89+
90+
# Mongo Explorer plugin
91+
.idea/**/mongoSettings.xml
92+
93+
# File-based project format
94+
*.iws
95+
96+
# IntelliJ
97+
out/
98+
99+
# mpeltonen/sbt-idea plugin
100+
.idea_modules/
101+
102+
# JIRA plugin
103+
atlassian-ide-plugin.xml
104+
105+
# Cursive Clojure plugin
106+
.idea/replstate.xml
107+
108+
# Crashlytics plugin (for Android Studio and IntelliJ)
109+
com_crashlytics_export_strings.xml
110+
crashlytics.properties
111+
crashlytics-build.properties
112+
fabric.properties
113+
114+
# Editor-based Rest Client
115+
.idea/httpRequests
116+
117+
# Android studio 3.1+ serialized cache file
118+
.idea/caches/build_file_checksums.ser
119+
120+
### PyCharm Patch ###
121+
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
122+
123+
# *.iml
124+
# modules.xml
125+
# .idea/misc.xml
126+
# *.ipr
127+
128+
# Sonarlint plugin
129+
.idea/sonarlint
130+
131+
### Python ###
132+
# Byte-compiled / optimized / DLL files
133+
__pycache__/
134+
*.py[cod]
135+
*$py.class
136+
137+
# C extensions
138+
*.so
139+
140+
# Distribution / packaging
141+
.Python
142+
build/
143+
develop-eggs/
144+
dist/
145+
downloads/
146+
eggs/
147+
.eggs/
148+
lib/
149+
lib64/
150+
parts/
151+
sdist/
152+
var/
153+
wheels/
154+
pip-wheel-metadata/
155+
share/python-wheels/
156+
*.egg-info/
157+
.installed.cfg
158+
*.egg
159+
MANIFEST
160+
161+
# PyInstaller
162+
# Usually these files are written by a python script from a template
163+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
164+
*.manifest
165+
*.spec
166+
167+
# Installer logs
168+
pip-log.txt
169+
pip-delete-this-directory.txt
170+
171+
# Unit test / coverage reports
172+
htmlcov/
173+
.tox/
174+
.nox/
175+
.coverage
176+
.coverage.*
177+
.cache
178+
nosetests.xml
179+
coverage.xml
180+
*.cover
181+
.hypothesis/
182+
.pytest_cache/
183+
184+
# Translations
185+
*.mo
186+
*.pot
187+
188+
# Django stuff:
189+
*.log
190+
local_settings.py
191+
db.sqlite3
192+
db.sqlite3-journal
193+
194+
# Flask stuff:
195+
instance/
196+
.webassets-cache
197+
198+
# Scrapy stuff:
199+
.scrapy
200+
201+
# Sphinx documentation
202+
docs/_build/
203+
204+
# PyBuilder
205+
target/
206+
207+
# Jupyter Notebook
208+
.ipynb_checkpoints
209+
210+
# IPython
211+
profile_default/
212+
ipython_config.py
213+
214+
# pyenv
215+
.python-version
216+
217+
# pipenv
218+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
219+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
220+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
221+
# install all needed dependencies.
222+
#Pipfile.lock
223+
224+
# celery beat schedule file
225+
celerybeat-schedule
226+
227+
# SageMath parsed files
228+
*.sage.py
229+
230+
# Environments
231+
.env
232+
.venv
233+
env/
234+
venv/
235+
ENV/
236+
env.bak/
237+
venv.bak/
238+
239+
# Spyder project settings
240+
.spyderproject
241+
.spyproject
242+
243+
# Rope project settings
244+
.ropeproject
245+
246+
# mkdocs documentation
247+
/site
248+
249+
# mypy
250+
.mypy_cache/
251+
.dmypy.json
252+
dmypy.json
253+
254+
# Pyre type checker
255+
.pyre/
256+
257+
### VisualStudioCode ###
258+
.vscode
259+
.vscode/*
260+
!.vscode/tasks.json
261+
!.vscode/launch.json
262+
!.vscode/extensions.json
263+
264+
### VisualStudioCode Patch ###
265+
# Ignore all local history of files
266+
.history
267+
268+
### Windows ###
269+
# Windows thumbnail cache files
270+
Thumbs.db
271+
Thumbs.db:encryptable
272+
ehthumbs.db
273+
ehthumbs_vista.db
274+
275+
# Dump file
276+
*.stackdump
277+
278+
# Folder config file
279+
[Dd]esktop.ini
280+
281+
# Recycle Bin used on file shares
282+
$RECYCLE.BIN/
283+
284+
# Windows Installer files
285+
*.cab
286+
*.msi
287+
*.msix
288+
*.msm
289+
*.msp
290+
291+
# Windows shortcuts
292+
*.lnk
293+
294+
# End of https://www.gitignore.io/api/osx,linux,python,windows,pycharm,visualstudiocode
295+
296+
# Misc
297+
test_report
298+
wheelhouse
299+
/.idea/*
300+
*.html
301+
TMP_CHANGELOG.md
302+
303+
# Docs files
304+
docs/.cache/
305+
docs/public
306+
node_modules
307+
/api/
308+
site/
309+
!404.html
310+
!docs/overrides/*.html
311+
312+
!.github/workflows/lib
313+
examples/**/sam/.aws-sam
314+
315+
# cdk
316+
cdk.out

.pre-commit-config.yaml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v3.2.0
6+
hooks:
7+
- id: trailing-whitespace
8+
- id: end-of-file-fixer
9+
- id: check-yaml
10+
- id: check-added-large-files
11+
- repo: local
12+
hooks:
13+
- id: isort
14+
name: foramtting::isort
15+
entry: poetry run isort
16+
language: system
17+
types: [python]
18+
- id: black
19+
name: foramtting::black
20+
entry: poetry run black
21+
language: system
22+
types: [python]
23+
- repo: local
24+
hooks:
25+
- id: flake8
26+
name: linting::flake8
27+
entry: poetry run flake8
28+
language: system
29+
types: [python]
30+
- repo: https://github.com/aws-cloudformation/cfn-python-lint
31+
rev: v0.61.1
32+
hooks:
33+
- id: cfn-python-lint
34+
files: template.yaml

.pylintrc

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[MESSAGES CONTROL]
2+
disable=
3+
too-many-arguments,
4+
too-many-instance-attributes,
5+
too-few-public-methods,
6+
anomalous-backslash-in-string,
7+
missing-class-docstring,
8+
missing-module-docstring,
9+
missing-function-docstring,
10+
11+
[FORMAT]
12+
max-line-length=120

0 commit comments

Comments
 (0)