-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ffd9248
commit 339c8cc
Showing
23 changed files
with
441 additions
and
414 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "pip" | ||
directory: "/" | ||
schedule: | ||
interval: "monthly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: GitHub Pages | ||
on: | ||
push: | ||
branches: | ||
- pages # For testing | ||
- master | ||
|
||
jobs: | ||
gh-pages: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Initialize submodules | ||
run: | ||
git submodule update --init --recursive | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.8' | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -W ignore -m pip install --upgrade pip | ||
python -W ignore -m pip install -r requirements.txt | ||
python -W ignore -m pip install -r docs/requirements-docs.txt | ||
- name: Build Docs | ||
run: sphinx-build docs/source docs/build/html | ||
|
||
- name: Deploy | ||
uses: JamesIves/github-pages-deploy-action@4.1.7 | ||
with: | ||
branch: gh-pages | ||
folder: docs/build/html |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,60 @@ | ||
# Make sure that | ||
# * the revs specified here match requirements-dev.txt | ||
# * the additional_dependencies here match requirements.txt | ||
|
||
ci: | ||
autoupdate_schedule: monthly | ||
|
||
default_language_version: | ||
python: python3.7 | ||
|
||
repos: | ||
- repo: https://github.com/psf/black | ||
rev: 20.8b1 | ||
- repo: https://github.com/psf/black | ||
rev: 22.3.0 | ||
hooks: | ||
- id: black | ||
args: | ||
- --diff | ||
- --check | ||
- repo: https://gitlab.com/pycqa/flake8 | ||
rev: 3.9.2 | ||
- id: black | ||
- repo: https://github.com/PyCQA/flake8 | ||
rev: 4.0.1 | ||
hooks: | ||
- id: flake8 | ||
language: python | ||
- repo: https://github.com/PyCQA/pylint | ||
rev: v2.10.2 | ||
- id: flake8 | ||
- repo: https://github.com/PyCQA/pylint | ||
rev: v2.13.8 | ||
hooks: | ||
- id: pylint | ||
- id: pylint | ||
files: ^(main|bot/\w*).py$ | ||
args: | ||
- --rcfile=setup.cfg | ||
# run pylint across multiple cpu cores to speed it up- | ||
- --jobs=0 # See https://pylint.pycqa.org/en/latest/user_guide/run.html?#parallel-execution to know more | ||
additional_dependencies: | ||
- python-telegram-bot>=13.7,<14.0 | ||
- Pillow==8.3.0 | ||
- PyHyphen==3.0.1 | ||
- pytz | ||
- fuzzywuzzy==0.18.0 | ||
- git+https://gitlab.com/HirschHeissIch/ptbstats.git@v1.3.1 | ||
language: python | ||
- repo: https://github.com/pre-commit/mirrors-mypy | ||
rev: v0.910 | ||
- python-telegram-bot==20.0a0 | ||
- Pillow==9.1.1 | ||
- PyHyphen==3.0.1 | ||
- pytz | ||
- thefuzz==0.19.0 | ||
- git+https://github.com/Bibo-Joshi/ptbstats.git@v2.0 | ||
- repo: https://github.com/pre-commit/mirrors-mypy | ||
rev: v0.950 | ||
hooks: | ||
- id: mypy | ||
- id: mypy | ||
files: ^(main|bot/\w*).py$ | ||
language: python | ||
additional_dependencies: | ||
- python-telegram-bot>=13.7,<14.0 | ||
- Pillow==8.3.0 | ||
- PyHyphen==3.0.1 | ||
- pytz | ||
- fuzzywuzzy==0.18.0 | ||
- git+https://gitlab.com/HirschHeissIch/ptbstats.git@v1.3.1 | ||
- repo: https://github.com/asottile/pyupgrade | ||
rev: v2.25.0 | ||
- python-telegram-bot==20.0a0 | ||
- Pillow==9.1.1 | ||
- PyHyphen==3.0.1 | ||
- pytz | ||
- thefuzz==0.19.0 | ||
- git+https://github.com/Bibo-Joshi/ptbstats.git@v2.0 | ||
- repo: https://github.com/asottile/pyupgrade | ||
rev: v2.32.0 | ||
hooks: | ||
- id: pyupgrade | ||
files: ^(main|bot/\w*).py$ | ||
- id: pyupgrade | ||
args: | ||
- --py36-plus | ||
- --py37-plus | ||
- repo: https://github.com/pycqa/isort | ||
rev: 5.10.1 | ||
hooks: | ||
- id: isort | ||
name: isort | ||
args: | ||
- --diff | ||
- --check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.