├── .coveragerc ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── LICENSE.APACHE2 ├── LICENSE.MIT ├── Procfile ├── README.rst ├── ci.sh ├── notes.org ├── pyproject.toml ├── pytest.ini ├── requirements.in ├── requirements.txt ├── runtime.txt ├── snekomatic ├── __init__.py ├── __main__.py ├── alembic.ini ├── app.py ├── db.py ├── gh.py └── migrations │ ├── env.py │ ├── script.py.mako │ └── versions │ └── 1479437ee1e2_initial.py ├── test-requirements.in ├── test-requirements.txt ├── tests ├── __init__.py ├── conftest.py ├── credentials.py ├── sample-data │ ├── add-single-comment.json │ ├── comment-edited.json │ ├── comment-existing-issue.json │ ├── comment-existing-pr.json │ ├── full-pr-review.json │ ├── issue-created-webhook.json │ ├── new-pr-created.json │ ├── pr-review-comment-01.json │ ├── pr-review-comment.json │ └── pr-review.json ├── test_app.py ├── test_db.py ├── test_gh.py ├── test_pg_fixture.py └── util.py └── tox.ini /.coveragerc: -------------------------------------------------------------------------------- 1 | [run] 2 | branch=True 3 | 4 | [report] 5 | precision = 1 6 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/.gitignore -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/LICENSE -------------------------------------------------------------------------------- /LICENSE.APACHE2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/LICENSE.APACHE2 -------------------------------------------------------------------------------- /LICENSE.MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/LICENSE.MIT -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- 1 | web: python3 -u -m snekomatic 2 | -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/README.rst -------------------------------------------------------------------------------- /ci.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/ci.sh -------------------------------------------------------------------------------- /notes.org: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/notes.org -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.black] 2 | line-length = 78 3 | target-version = ["py37"] 4 | -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/pytest.ini -------------------------------------------------------------------------------- /requirements.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/requirements.in -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/requirements.txt -------------------------------------------------------------------------------- /runtime.txt: -------------------------------------------------------------------------------- 1 | python-3.7.3 2 | -------------------------------------------------------------------------------- /snekomatic/__init__.py: -------------------------------------------------------------------------------- 1 | """Top-level package for snekomatic.""" 2 | -------------------------------------------------------------------------------- /snekomatic/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/snekomatic/__main__.py -------------------------------------------------------------------------------- /snekomatic/alembic.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/snekomatic/alembic.ini -------------------------------------------------------------------------------- /snekomatic/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/snekomatic/app.py -------------------------------------------------------------------------------- /snekomatic/db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/snekomatic/db.py -------------------------------------------------------------------------------- /snekomatic/gh.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/snekomatic/gh.py -------------------------------------------------------------------------------- /snekomatic/migrations/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/snekomatic/migrations/env.py -------------------------------------------------------------------------------- /snekomatic/migrations/script.py.mako: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/snekomatic/migrations/script.py.mako -------------------------------------------------------------------------------- /snekomatic/migrations/versions/1479437ee1e2_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/snekomatic/migrations/versions/1479437ee1e2_initial.py -------------------------------------------------------------------------------- /test-requirements.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/test-requirements.in -------------------------------------------------------------------------------- /test-requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/test-requirements.txt -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/credentials.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/tests/credentials.py -------------------------------------------------------------------------------- /tests/sample-data/add-single-comment.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/tests/sample-data/add-single-comment.json -------------------------------------------------------------------------------- /tests/sample-data/comment-edited.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/tests/sample-data/comment-edited.json -------------------------------------------------------------------------------- /tests/sample-data/comment-existing-issue.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/tests/sample-data/comment-existing-issue.json -------------------------------------------------------------------------------- /tests/sample-data/comment-existing-pr.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/tests/sample-data/comment-existing-pr.json -------------------------------------------------------------------------------- /tests/sample-data/full-pr-review.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/tests/sample-data/full-pr-review.json -------------------------------------------------------------------------------- /tests/sample-data/issue-created-webhook.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/tests/sample-data/issue-created-webhook.json -------------------------------------------------------------------------------- /tests/sample-data/new-pr-created.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/tests/sample-data/new-pr-created.json -------------------------------------------------------------------------------- /tests/sample-data/pr-review-comment-01.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/tests/sample-data/pr-review-comment-01.json -------------------------------------------------------------------------------- /tests/sample-data/pr-review-comment.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/tests/sample-data/pr-review-comment.json -------------------------------------------------------------------------------- /tests/sample-data/pr-review.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/tests/sample-data/pr-review.json -------------------------------------------------------------------------------- /tests/test_app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/tests/test_app.py -------------------------------------------------------------------------------- /tests/test_db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/tests/test_db.py -------------------------------------------------------------------------------- /tests/test_gh.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/tests/test_gh.py -------------------------------------------------------------------------------- /tests/test_pg_fixture.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/tests/test_pg_fixture.py -------------------------------------------------------------------------------- /tests/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/tests/util.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/python-trio/snekomatic/HEAD/tox.ini --------------------------------------------------------------------------------