Skip to content

Cleanup, mostly docs #55

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,5 @@ ENV/

# mypy
.mypy_cache/

.pytest_cache/
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "3rd_party/quart"]
path = 3rd_party/quart
url = https://gitlab.com/pgjones/quart.git
[submodule "3rd_party/backend"]
path = 3rd_party/backend
url = https://github.com/5yncr/backend
16 changes: 16 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,19 @@ repos:
entry: except:$
language: pygrep
files: \.py$
- id: no-dorp
name: Prevent misspelling of drop
entry: dorp
language: pygrep
files: \.(py|pyi|rst|md)$
- id: validatedoc
name: validatedoc
entry: python -m validatedoc.validatedoc
language: system
types: [python]
exclude: (docs/|tests/)
- repo: git://github.com/matthewbentley/pre-commit-mirrors-pep257
sha: 'acc6d81940b8d38563929e7fde70696cea42da30'
hooks:
- id: pydocstyle
exclude: (docs/|tests/)
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ language: python
python:
- "3.6"
env:
- TOXENV=py36,coverage,mypy
- TOXENV=py36,coverage
- TOXENV=lint,docs
install: pip install tox
script:
- flake8 syncr_frontend tests
- pycodestyle syncr_frontend tests
- tox
1 change: 1 addition & 0 deletions 3rd_party/backend
Submodule backend added at 6fd6d1
1 change: 1 addition & 0 deletions 3rd_party/quart
Submodule quart added at 2b9895
30 changes: 30 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
"5yncr_Backend" = {git = "https://github.com/5yncr/backend", ref = "master"}
"bencode.py" = "*"
Quart = "*"
"Jinja2" = "*"

[dev-packages]
pre_commit = "*"
RinohType = "*"
Sphinx = "*"
sphinx_rtd_theme = "*"
sphinxcontrib-autoprogram = "*"
sphinxcontrib-websupport = "*"
tox = "*"
docutils = "*"
flake8 = "*"
pycodestyle = "*"
pytest = "*"
pydocstyle = "*"
pipenv = "*"
validatedoc = "*"
mypy = "*"

[requires]
python_version = "3.6"
Loading