Skip to content

Commit deb759d

Browse files
Add the boilerplate stuff
Signed-off-by: Steve Coffman <steve@khanacademy.org>
1 parent d9ec463 commit deb759d

14 files changed

Lines changed: 1852 additions & 147 deletions

.editorconfig

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
; https://editorconfig.org/
2+
3+
root = true
4+
5+
[*]
6+
insert_final_newline = true
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
indent_style = space
10+
indent_size = 2
11+
12+
[{Makefile,go.mod,go.work,go.work.sum,go.sum,*.go,.gitmodules}]
13+
indent_style = tab
14+
indent_size = 4
15+
16+
[*.md]
17+
indent_size = 4
18+
trim_trailing_whitespace = false
19+
20+
eclint_indent_style = unset
21+
22+
[Dockerfile]
23+
indent_size = 4
24+
25+
# Ignore yaml https://learn.microsoft.com/en-us/visualstudio/code-quality/use-roslyn-analyzers?view=vs-2022
26+
[*.{yaml,yml,yml.j2,yaml.j2}]
27+
generated_code = true
28+
# charset = unset
29+
# end_of_line = unset
30+
# insert_final_newline = unset
31+
# trim_trailing_whitespace = unset
32+
# indent_style = unset
33+
# indent_size = unset
34+
35+
[*.{sql,graphql}]
36+
generated_code = true
37+
# charset = unset
38+
# end_of_line = unset
39+
# insert_final_newline = unset
40+
# trim_trailing_whitespace = unset
41+
# indent_style = unset
42+
# indent_size = unset

.gitignore

Lines changed: 307 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,309 @@
1-
git push -u origin main
1+
2+
# https://github.com/github/gitignore/blob/main/Go.gitignore
3+
# If you prefer the allow list template instead of the deny list, see community template:
4+
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
5+
#
6+
# Binaries for programs and plugins
7+
*.exe
8+
*.exe~
9+
*.dll
10+
*.so
11+
*.dylib
12+
13+
# Test binary, built with `go test -c`
14+
*.test
15+
16+
# Code coverage profiles and other test artifacts
17+
*.out
18+
coverage.*
19+
*.coverprofile
20+
profile.cov
21+
22+
# Dependency directories (remove the comment below to include it)
23+
# vendor/
24+
25+
# Go workspace file
26+
go.work
27+
go.work.sum
28+
29+
# env file
30+
.env
31+
232
# Added by goreleaser init:
333
dist/
34+
35+
# Editor/IDE
36+
.idea/
37+
.vscode/
38+
39+
# https://github.com/golang/go/blob/master/.gitignore
40+
.DS_Store
41+
*.[56789ao]
42+
*.a[56789o]
43+
*.so
44+
*.pyc
45+
._*
46+
.nfs.*
47+
*.out
48+
*~
49+
*.orig
50+
*.rej
51+
*.exe
52+
.*.swp
53+
core
54+
*.cgo*.go
55+
*.cgo*.c
56+
_cgo_*
57+
_obj
58+
_test
59+
_testmain.go
60+
61+
/VERSION.cache
62+
/bin/
63+
/build.out
64+
/doc/articles/wiki/*.bin
65+
/goinstall.log
66+
# This file includes artifacts of Go build that should not be checked in.
67+
# For files created by specific development environment (e.g. editor),
68+
# use alternative ways to exclude files from git.
69+
# For example, set up .git/info/exclude or use a global .gitignore.
70+
71+
72+
# https://github.com/github/gitignore/blob/main/Python.gitignore
73+
# Byte-compiled / optimized / DLL files
74+
__pycache__/
75+
*.py[codz]
76+
*$py.class
77+
78+
# C extensions
79+
*.so
80+
81+
# Distribution / packaging
82+
.Python
83+
build/
84+
develop-eggs/
85+
dist/
86+
downloads/
87+
eggs/
88+
.eggs/
89+
lib/
90+
lib64/
91+
parts/
92+
sdist/
93+
var/
94+
wheels/
95+
share/python-wheels/
96+
*.egg-info/
97+
.installed.cfg
98+
*.egg
99+
MANIFEST
100+
101+
# PyInstaller
102+
# Usually these files are written by a python script from a template
103+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
104+
*.manifest
105+
*.spec
106+
107+
# Installer logs
108+
pip-log.txt
109+
pip-delete-this-directory.txt
110+
111+
# Unit test / coverage reports
112+
htmlcov/
113+
.tox/
114+
.nox/
115+
.coverage
116+
.coverage.*
117+
.cache
118+
nosetests.xml
119+
coverage.xml
120+
*.cover
121+
*.py.cover
122+
*.lcov
123+
.hypothesis/
124+
.pytest_cache/
125+
cover/
126+
127+
# Translations
128+
*.mo
129+
*.pot
130+
131+
# Django stuff:
132+
*.log
133+
local_settings.py
134+
db.sqlite3
135+
db.sqlite3-journal
136+
137+
# Flask stuff:
138+
instance/
139+
.webassets-cache
140+
141+
# Scrapy stuff:
142+
.scrapy
143+
144+
# Sphinx documentation
145+
docs/_build/
146+
147+
# PyBuilder
148+
.pybuilder/
149+
target/
150+
151+
# Jupyter Notebook
152+
.ipynb_checkpoints
153+
154+
# IPython
155+
profile_default/
156+
ipython_config.py
157+
158+
# pyenv
159+
# For a library or package, you might want to ignore these files since the code is
160+
# intended to run in multiple environments; otherwise, check them in:
161+
# .python-version
162+
163+
# pipenv
164+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
165+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
166+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
167+
# install all needed dependencies.
168+
# Pipfile.lock
169+
170+
# UV
171+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
172+
# This is especially recommended for binary packages to ensure reproducibility, and is more
173+
# commonly ignored for libraries.
174+
# uv.lock
175+
176+
# poetry
177+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
178+
# This is especially recommended for binary packages to ensure reproducibility, and is more
179+
# commonly ignored for libraries.
180+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
181+
# poetry.lock
182+
# poetry.toml
183+
184+
# pdm
185+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
186+
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
187+
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
188+
# pdm.lock
189+
# pdm.toml
190+
.pdm-python
191+
.pdm-build/
192+
193+
# pixi
194+
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
195+
# pixi.lock
196+
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
197+
# in the .venv directory. It is recommended not to include this directory in version control.
198+
.pixi/*
199+
!.pixi/config.toml
200+
201+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
202+
__pypackages__/
203+
204+
# Celery stuff
205+
celerybeat-schedule*
206+
celerybeat.pid
207+
208+
# Redis
209+
*.rdb
210+
*.aof
211+
*.pid
212+
213+
# RabbitMQ
214+
mnesia/
215+
rabbitmq/
216+
rabbitmq-data/
217+
218+
# ActiveMQ
219+
activemq-data/
220+
221+
# SageMath parsed files
222+
*.sage.py
223+
224+
# Environments
225+
.env
226+
.envrc
227+
.venv
228+
env/
229+
venv/
230+
ENV/
231+
env.bak/
232+
venv.bak/
233+
234+
# Spyder project settings
235+
.spyderproject
236+
.spyproject
237+
238+
# Rope project settings
239+
.ropeproject
240+
241+
# mkdocs documentation
242+
/site
243+
244+
# mypy
245+
.mypy_cache/
246+
.dmypy.json
247+
dmypy.json
248+
249+
# Pyre type checker
250+
.pyre/
251+
252+
# pytype static type analyzer
253+
.pytype/
254+
255+
# Cython debug symbols
256+
cython_debug/
257+
258+
# PyCharm
259+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
260+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
261+
# and can be added to the global gitignore or merged into this file. For a more nuclear
262+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
263+
# .idea/
264+
265+
# Abstra
266+
# Abstra is an AI-powered process automation framework.
267+
# Ignore directories containing user credentials, local state, and settings.
268+
# Learn more at https://abstra.io/docs
269+
.abstra/
270+
271+
# Visual Studio Code
272+
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
273+
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
274+
# and can be added to the global gitignore or merged into this file. However, if you prefer,
275+
# you could uncomment the following to ignore the entire vscode folder
276+
# .vscode/
277+
# Temporary file for partial code execution
278+
tempCodeRunnerFile.py
279+
280+
# Ruff stuff:
281+
.ruff_cache/
282+
283+
# PyPI configuration file
284+
.pypirc
285+
286+
# Marimo
287+
marimo/_static/
288+
marimo/_lsp/
289+
__marimo__/
290+
291+
# Streamlit
292+
.streamlit/secrets.toml
293+
294+
295+
296+
.python-version
297+
uv.lock
298+
__pycache__/
299+
*.pyc
300+
.pytest_cache/
301+
.venv/
302+
dist/
303+
*.egg-info/
304+
*,out
305+
# Claude Code — generated skill symlinks (source lives in .agents/skills/)
306+
.claude/skills/
307+
308+
# Rumdl - markdown linter cache
309+
.rumdl_cache

0 commit comments

Comments
 (0)