Skip to content

Commit 0743263

Browse files
authored
Merge pull request #1 from TicketSwap/first-code
First commit
2 parents 77b9964 + 5e00f0d commit 0743263

File tree

20 files changed

+3299
-0
lines changed

20 files changed

+3299
-0
lines changed

.github/dependabot.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: uv
9+
directory: "/"
10+
schedule:
11+
interval: weekly
12+
commit-message:
13+
prefix: "chore(deps): "
14+
prefix-development: "chore(deps-dev): "
15+
groups:
16+
development-dependencies:
17+
dependency-type: development
18+
runtime-dependencies:
19+
dependency-type: production
20+
update-types:
21+
- "patch"
22+
versioning-strategy: increase-if-necessary
23+
cooldown:
24+
default-days: 7
25+
- package-ecosystem: github-actions
26+
directory: "/"
27+
schedule:
28+
interval: weekly
29+
commit-message:
30+
prefix: "ci: "
31+
groups:
32+
actions:
33+
patterns:
34+
- "*"
35+
cooldown:
36+
default-days: 7

.gitignore

Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
# Secrets and internal config files
2+
**/.secrets/*
3+
4+
# Ignore meltano internal cache and sqlite systemdb
5+
6+
.meltano/
7+
8+
# Byte-compiled / optimized / DLL files
9+
__pycache__/
10+
*.py[cod]
11+
*$py.class
12+
13+
# C extensions
14+
*.so
15+
16+
# Distribution / packaging
17+
.Python
18+
build/
19+
develop-eggs/
20+
dist/
21+
downloads/
22+
eggs/
23+
.eggs/
24+
lib/
25+
lib64/
26+
parts/
27+
sdist/
28+
var/
29+
wheels/
30+
pip-wheel-metadata/
31+
share/python-wheels/
32+
*.egg-info/
33+
.installed.cfg
34+
*.egg
35+
MANIFEST
36+
37+
# PyInstaller
38+
# Usually these files are written by a python script from a template
39+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
40+
*.manifest
41+
*.spec
42+
43+
# Installer logs
44+
pip-log.txt
45+
pip-delete-this-directory.txt
46+
47+
# Unit test / coverage reports
48+
htmlcov/
49+
.tox/
50+
.nox/
51+
.coverage
52+
.coverage.*
53+
.cache
54+
nosetests.xml
55+
coverage.xml
56+
*.cover
57+
*.py,cover
58+
.hypothesis/
59+
.pytest_cache/
60+
61+
# Translations
62+
*.mo
63+
*.pot
64+
65+
# Django stuff:
66+
*.log
67+
local_settings.py
68+
db.sqlite3
69+
db.sqlite3-journal
70+
71+
# Flask stuff:
72+
instance/
73+
.webassets-cache
74+
75+
# Scrapy stuff:
76+
.scrapy
77+
78+
# Sphinx documentation
79+
docs/_build/
80+
81+
# PyBuilder
82+
target/
83+
84+
# Jupyter Notebook
85+
.ipynb_checkpoints
86+
87+
# IPython
88+
profile_default/
89+
ipython_config.py
90+
91+
# pyenv
92+
.python-version
93+
94+
# pipenv
95+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
96+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
97+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
98+
# install all needed dependencies.
99+
#Pipfile.lock
100+
101+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
102+
__pypackages__/
103+
104+
# Celery stuff
105+
celerybeat-schedule
106+
celerybeat.pid
107+
108+
# SageMath parsed files
109+
*.sage.py
110+
111+
# Environments
112+
.env
113+
.venv
114+
env/
115+
venv/
116+
ENV/
117+
env.bak/
118+
venv.bak/
119+
120+
# Spyder project settings
121+
.spyderproject
122+
.spyproject
123+
124+
# Rope project settings
125+
.ropeproject
126+
127+
# mkdocs documentation
128+
/site
129+
130+
# mypy
131+
.mypy_cache/
132+
.dmypy.json
133+
dmypy.json
134+
135+
# Pyre type checker
136+
.pyre/

.pre-commit-config.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
ci:
2+
autofix_prs: true
3+
autofix_commit_msg: "style: pre-commit fixes"
4+
autoupdate_schedule: monthly
5+
autoupdate_commit_msg: 'chore: pre-commit autoupdate'
6+
7+
repos:
8+
- repo: https://github.com/pre-commit/pre-commit-hooks
9+
rev: v6.0.0
10+
hooks:
11+
- id: check-json
12+
exclude: |
13+
(?x)^(
14+
.*/launch.json
15+
)$
16+
- id: check-toml
17+
- id: check-yaml
18+
- id: end-of-file-fixer
19+
- id: trailing-whitespace
20+
21+
- repo: https://github.com/python-jsonschema/check-jsonschema
22+
rev: 0.36.1
23+
hooks:
24+
- id: check-dependabot
25+
- id: check-github-workflows
26+
- id: check-meltano
27+
28+
- repo: https://github.com/astral-sh/ruff-pre-commit
29+
rev: v0.15.0
30+
hooks:
31+
- id: ruff-check
32+
- id: ruff-format
33+
34+
- repo: https://github.com/astral-sh/uv-pre-commit
35+
rev: 0.9.30
36+
hooks:
37+
- id: uv-lock
38+
- id: uv-sync

.secrets/.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# IMPORTANT! This folder is hidden from git - if you need to store config files or other secrets,
2+
# make sure those are never staged for commit into your git repo. You can store them here or another
3+
# secure location.
4+
#
5+
# Note: This may be redundant with the global .gitignore for, and is provided
6+
# for redundancy. If the `.secrets` folder is not needed, you may delete it
7+
# from the project.
8+
9+
*
10+
!.gitignore

.vscode/launch.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "tap-restcountries",
9+
"type": "debugpy",
10+
"request": "launch",
11+
"cwd": "${workspaceFolder}",
12+
"program": "tap_restcountries",
13+
"justMyCode": false,
14+
"args": [
15+
"--config",
16+
".secrets/config.json",
17+
],
18+
},
19+
]
20+
}

0 commit comments

Comments
 (0)