Skip to content

Commit 2b04eae

Browse files
committed
fix: cleaup repo history to remove sensitive info
0 parents  commit 2b04eae

File tree

253 files changed

+12174
-0
lines changed

Some content is hidden

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

253 files changed

+12174
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/python
3+
{
4+
"name": "Python 3",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye"
7+
8+
// Features to add to the dev container. More info: https://containers.dev/features.
9+
// "features": {},
10+
11+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
12+
// "forwardPorts": [],
13+
14+
// Use 'postCreateCommand' to run commands after the container is created.
15+
// "postCreateCommand": "pip3 install --user -r requirements.txt",
16+
17+
// Configure tool-specific properties.
18+
// "customizations": {},
19+
20+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
21+
// "remoteUser": "root"
22+
}

.github/workflows/black.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Lint
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
lint:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- uses: psf/black@stable
11+
with:
12+
src: "./practice_files"
13+
version: "22.1.0"

.gitignore

Lines changed: 334 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,334 @@
1+
2+
# Created by https://www.toptal.com/developers/gitignore/api/osx,windows,visualstudiocode,pycharm+all,python
3+
# Edit at https://www.toptal.com/developers/gitignore?templates=osx,windows,visualstudiocode,pycharm+all,python
4+
5+
### OSX ###
6+
# General
7+
.DS_Store
8+
.AppleDouble
9+
.LSOverride
10+
11+
# Icon must end with two \r
12+
Icon
13+
14+
15+
# Thumbnails
16+
._*
17+
18+
# Files that might appear in the root of a volume
19+
.DocumentRevisions-V100
20+
.fseventsd
21+
.Spotlight-V100
22+
.TemporaryItems
23+
.Trashes
24+
.VolumeIcon.icns
25+
.com.apple.timemachine.donotpresent
26+
27+
# Directories potentially created on remote AFP share
28+
.AppleDB
29+
.AppleDesktop
30+
Network Trash Folder
31+
Temporary Items
32+
.apdisk
33+
34+
### PyCharm+all ###
35+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
36+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
37+
38+
# User-specific stuff
39+
.idea/**/workspace.xml
40+
.idea/**/tasks.xml
41+
.idea/**/usage.statistics.xml
42+
.idea/**/dictionaries
43+
.idea/**/shelf
44+
45+
# AWS User-specific
46+
.idea/**/aws.xml
47+
48+
# Generated files
49+
.idea/**/contentModel.xml
50+
51+
# Sensitive or high-churn files
52+
.idea/**/dataSources/
53+
.idea/**/dataSources.ids
54+
.idea/**/dataSources.local.xml
55+
.idea/**/sqlDataSources.xml
56+
.idea/**/dynamic.xml
57+
.idea/**/uiDesigner.xml
58+
.idea/**/dbnavigator.xml
59+
60+
# Gradle
61+
.idea/**/gradle.xml
62+
.idea/**/libraries
63+
64+
# Gradle and Maven with auto-import
65+
# When using Gradle or Maven with auto-import, you should exclude module files,
66+
# since they will be recreated, and may cause churn. Uncomment if using
67+
# auto-import.
68+
# .idea/artifacts
69+
# .idea/compiler.xml
70+
# .idea/jarRepositories.xml
71+
# .idea/modules.xml
72+
# .idea/*.iml
73+
# .idea/modules
74+
# *.iml
75+
# *.ipr
76+
77+
# CMake
78+
cmake-build-*/
79+
80+
# Mongo Explorer plugin
81+
.idea/**/mongoSettings.xml
82+
83+
# File-based project format
84+
*.iws
85+
86+
# IntelliJ
87+
out/
88+
89+
# mpeltonen/sbt-idea plugin
90+
.idea_modules/
91+
92+
# JIRA plugin
93+
atlassian-ide-plugin.xml
94+
95+
# Cursive Clojure plugin
96+
.idea/replstate.xml
97+
98+
# SonarLint plugin
99+
.idea/sonarlint/
100+
101+
# Crashlytics plugin (for Android Studio and IntelliJ)
102+
com_crashlytics_export_strings.xml
103+
crashlytics.properties
104+
crashlytics-build.properties
105+
fabric.properties
106+
107+
# Editor-based Rest Client
108+
.idea/httpRequests
109+
110+
# Android studio 3.1+ serialized cache file
111+
.idea/caches/build_file_checksums.ser
112+
113+
### PyCharm+all Patch ###
114+
# Ignores the whole .idea folder and all .iml files
115+
# See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360
116+
117+
.idea/*
118+
119+
# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023
120+
121+
*.iml
122+
modules.xml
123+
.idea/misc.xml
124+
*.ipr
125+
126+
# Sonarlint plugin
127+
.idea/sonarlint
128+
129+
### Python ###
130+
# Byte-compiled / optimized / DLL files
131+
__pycache__/
132+
*.py[cod]
133+
*$py.class
134+
135+
# C extensions
136+
*.so
137+
138+
# Distribution / packaging
139+
.Python
140+
build/
141+
develop-eggs/
142+
dist/
143+
downloads/
144+
eggs/
145+
.eggs/
146+
lib/
147+
lib64/
148+
parts/
149+
sdist/
150+
var/
151+
wheels/
152+
share/python-wheels/
153+
*.egg-info/
154+
.installed.cfg
155+
*.egg
156+
MANIFEST
157+
158+
# PyInstaller
159+
# Usually these files are written by a python script from a template
160+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
161+
*.manifest
162+
*.spec
163+
164+
# Installer logs
165+
pip-log.txt
166+
pip-delete-this-directory.txt
167+
168+
# Unit test / coverage reports
169+
htmlcov/
170+
.tox/
171+
.nox/
172+
.coverage
173+
.coverage.*
174+
.cache
175+
nosetests.xml
176+
coverage.xml
177+
*.cover
178+
*.py,cover
179+
.hypothesis/
180+
.pytest_cache/
181+
cover/
182+
183+
# Translations
184+
*.mo
185+
*.pot
186+
187+
# Django stuff:
188+
*.log
189+
local_settings.py
190+
db.sqlite3
191+
db.sqlite3-journal
192+
193+
# Flask stuff:
194+
instance/
195+
.webassets-cache
196+
197+
# Scrapy stuff:
198+
.scrapy
199+
200+
# Sphinx documentation
201+
docs/_build/
202+
203+
# PyBuilder
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+
# For a library or package, you might want to ignore these files since the code is
216+
# intended to run in multiple environments; otherwise, check them in:
217+
# .python-version
218+
219+
# pipenv
220+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
221+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
222+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
223+
# install all needed dependencies.
224+
#Pipfile.lock
225+
226+
# poetry
227+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
228+
# This is especially recommended for binary packages to ensure reproducibility, and is more
229+
# commonly ignored for libraries.
230+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
231+
#poetry.lock
232+
233+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
234+
__pypackages__/
235+
236+
# Celery stuff
237+
celerybeat-schedule
238+
celerybeat.pid
239+
240+
# SageMath parsed files
241+
*.sage.py
242+
243+
# Environments
244+
.env
245+
.venv
246+
env/
247+
venv/
248+
ENV/
249+
env.bak/
250+
venv.bak/
251+
252+
# Spyder project settings
253+
.spyderproject
254+
.spyproject
255+
256+
# Rope project settings
257+
.ropeproject
258+
259+
# mkdocs documentation
260+
/site
261+
262+
# mypy
263+
.mypy_cache/
264+
.dmypy.json
265+
dmypy.json
266+
267+
# Pyre type checker
268+
.pyre/
269+
270+
# pytype static type analyzer
271+
.pytype/
272+
273+
# Cython debug symbols
274+
cython_debug/
275+
276+
# PyCharm
277+
# JetBrains specific template is maintainted in a separate JetBrains.gitignore that can
278+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
279+
# and can be added to the global gitignore or merged into this file. For a more nuclear
280+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
281+
#.idea/
282+
283+
### VisualStudioCode ###
284+
.vscode/*
285+
!.vscode/settings.json
286+
!.vscode/tasks.json
287+
!.vscode/launch.json
288+
!.vscode/extensions.json
289+
!.vscode/*.code-snippets
290+
291+
# Local History for Visual Studio Code
292+
.history/
293+
294+
# Built Visual Studio Code Extensions
295+
*.vsix
296+
297+
### VisualStudioCode Patch ###
298+
# Ignore all local history of files
299+
.history
300+
.ionide
301+
302+
# Support for Project snippet scope
303+
304+
### Windows ###
305+
# Windows thumbnail cache files
306+
Thumbs.db
307+
Thumbs.db:encryptable
308+
ehthumbs.db
309+
ehthumbs_vista.db
310+
311+
# Dump file
312+
*.stackdump
313+
314+
# Folder config file
315+
[Dd]esktop.ini
316+
317+
# Recycle Bin used on file shares
318+
$RECYCLE.BIN/
319+
320+
# Windows Installer files
321+
*.cab
322+
*.msi
323+
*.msix
324+
*.msm
325+
*.msp
326+
327+
# Windows shortcuts
328+
*.lnk
329+
330+
# Project specified
331+
practice_with_work/
332+
poetry.lock
333+
334+
# End of https://www.toptal.com/developers/gitignore/api/osx,windows,visualstudiocode,pycharm+all,python

.gitlab-ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# You can override the included template(s) by including variable overrides
2+
# SAST customization: https://docs.gitlab.com/ee/user/application_security/sast/#customizing-the-sast-settings
3+
# Secret Detection customization: https://docs.gitlab.com/ee/user/application_security/secret_detection/#customizing-settings
4+
# Dependency Scanning customization: https://docs.gitlab.com/ee/user/application_security/dependency_scanning/#customizing-the-dependency-scanning-settings
5+
# Note that environment variables can be set in several places
6+
# See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence
7+
stages:
8+
- test
9+
sast:
10+
stage: test
11+
include:
12+
- template: Security/SAST.gitlab-ci.yml

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.12

.vscode/settings.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"python.analysis.typeCheckingMode": "basic",
3+
"python.REPL.enableREPLSmartSend": false
4+
}

0 commit comments

Comments
 (0)