Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
gamesguru committed Jan 4, 2024
0 parents commit 95a9651
Show file tree
Hide file tree
Showing 23 changed files with 848 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
root = true

[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true

max_line_length = 100


[*.py]
max_line_length = 88


[*.sh]
indent_style = tab
max_line_length = 79


[*.sql]
indent_size = 2
max_line_length = 80


[*.{yaml,yml}]
indent_size = 2
max_line_length = 80


[Makefile]
indent_style = tab
max_line_length = 120


[*.rst]
max_line_length = 79


[{COMMIT_EDITMSG,MERGE_MSG,SQUASH_MSG,git-rebase-todo}]
max_line_length = 72
2 changes: 2 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
source .venv/bin/activate
unset PS1
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.sql linguist-detectable
30 changes: 30 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: test

"on": push

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Install requirements
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- name: Install requirements
run: SKIP_VENV=1 make deps

# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Build and test
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- name: Build
run: make build

- name: Test
run: make test
127 changes: 127 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
# macOS/backup files
.~*
._*
.DS_Store

# Other files
*.sqlite*
.vscode/
.idea/


####################
## Python Ignores ##
####################

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/
Pipfile*

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json
11 changes: 11 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[MASTER]

fail-under=10


[MESSAGES CONTROL]

disable=
fixme,
consider-using-f-string,

Loading

0 comments on commit 95a9651

Please sign in to comment.