Skip to content
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

0.0.56 - Error refactor #13

Merged
merged 26 commits into from
Dec 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
41c52d7
Update release webhook
tandemdude Nov 14, 2020
9d1e2cb
Refactor errors, add readthedocs config file and github actions
tandemdude Dec 1, 2020
19e8270
black and fix rtd.yml
tandemdude Dec 1, 2020
c62e60f
Add master_doc to conf.py
tandemdude Dec 1, 2020
558156a
fix readthedocs config file
tandemdude Dec 1, 2020
f408611
fix readthedocs config file
tandemdude Dec 1, 2020
bcb44e1
Add master_doc to conf.py
tandemdude Dec 1, 2020
af59c71
Fix sphinx config file
tandemdude Dec 1, 2020
3a7ebbd
update requirements
tandemdude Dec 1, 2020
c9e1202
update requirements
tandemdude Dec 1, 2020
d724a4a
Attempt to fix styling issues
tandemdude Dec 1, 2020
dec8689
Fix github actions
tandemdude Dec 1, 2020
1b7368c
Black file
tandemdude Dec 1, 2020
9e95e4e
Fixed checks.has_permissions and checks._bot_has_permissions (#6)
ahnaf-zamil Dec 2, 2020
8a1bab9
Bump pytest from 6.1.1 to 6.1.2
dependabot-preview[bot] Dec 2, 2020
36d6fa3
Bump pytest-randomly from 3.4.1 to 3.5.0
dependabot-preview[bot] Dec 2, 2020
d5dc28e
Update hikari requirement from ~=2.0.0.dev91 to ~=2.0.0.dev95
dependabot-preview[bot] Dec 2, 2020
f1a193d
Added github templates, dependabot and cleanup
davfsa Dec 2, 2020
f45ed64
Remove unused import and whitespace
tandemdude Dec 2, 2020
69198e6
Bump pytest-testdox from 2.0.0 to 2.0.1
dependabot[bot] Dec 2, 2020
9565616
Add deploy to actions
tandemdude Dec 2, 2020
dcd66e4
Fix deploy.yml
tandemdude Dec 2, 2020
1e27a51
Update readme
tandemdude Dec 2, 2020
3968460
Update hikari requirement from ~=2.0.0.dev95 to ~=2.0.0.dev96
dependabot[bot] Dec 3, 2020
0c6f586
Update changelog, version number and release webhook
tandemdude Dec 4, 2020
cc1c070
Add twine username and pass to deploy env
tandemdude Dec 4, 2020
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
41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
name: Bug report
about: Got a bug? Let us know!
title: ''
labels: bug
assignees: ''

---

### Steps to reproduce
<!--
Steps to reproduce the bug. This can also be a code snippet.
Make sure you have removed your bot token (if visible).
-->

1.
2.
3.
4.

### Expected Result
<!--
What should have happened if the bug wasn't there?
Make sure you have removed your bot token (if visible).
-->

### Actual Result
<!-- What happened exactly? If you have a traceback, please provide all of it. -->

### System info
<!-- Your system info. -->

### Further info
<!-- Any further info or images go here. -->

### Checklist
<!-- Make sure to tick all the following boxes by putting an `x` in between (like this `[x]`) -->
- [ ] I have made sure to remove ANY sensitive information (bot token, passwords,
credentials, personal details, etc).
- [ ] I have searched the issue tracker and have made sure it's not a duplicate.
If it is a follow up of another issue, I have specified it.
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Question
url: https://discord.gg/Jx4cNGG
about: Please ask questions in our Discord server.
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Feature request
about: Got a cool idea you would like implemented? Share it!
title: ''
labels: enhancement
assignees: ''

---

### Summary
<!-- Small summary of the feature -->

### Problem
<!-- What problem will this feature solve (if any)? -->

### Ideal implementation
<!-- How should this feature be implemented? -->

### Checklist
<!-- Make sure to tick all the following boxes by putting an `x` in between (like this `[x]`) -->
- [ ] I have searched the issue tracker and have made sure it's not a duplicate.
If it is a follow up of another issue, I have specified it.
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2
updates:
- package-ecosystem: pip
directory: /
schedule:
interval: daily
assignees:
- tandemdude
reviewers:
- tandemdude
rebase-strategy: auto
target-branch: development
13 changes: 13 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
### Summary
<!-- Small summary of the merge request -->

### Checklist
<!-- Make sure to tick all the following boxes by putting an `x` in between (like this `[x]`) -->
- [ ] I have run `nox` and all the pipelines have passed.
- [ ] I have made unittests according to the code I have added/modified/deleted.

### Related issues
<!--
To mention an issue use `#issue-id` and to mention a merge request use `!merge-request-id`
To close/fix an issue use `Close #issue-id` or `Fix #issue-id` (depending on the merge request)
-->
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9]

steps:
- uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Run tests
run: |
pip install nox
nox -s test
- name: Run black
run: nox -s format
28 changes: 28 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Deploy

on:
push:
branches:
- "master"

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: "3.8"

- name: Deploy to PyPi
env:
RELEASE_WEBHOOK: ${{ secrets.RELEASE_WEBHOOK }}
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: |
pip install -U requests setuptools twine wheel -r requirements.txt
python setup.py sdist bdist_wheel
twine upload --skip-existing dist/*
python release_webhook.py
82 changes: 0 additions & 82 deletions .gitlab-ci.yml

This file was deleted.

Empty file removed .gitlab/.gitkeep
Empty file.
Empty file removed .gitlab/issue_templates/.gitkeep
Empty file.
22 changes: 22 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/source/conf.py


build:
image: latest

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.8
install:
- requirements: requirements.txt
- requirements: docs_requirements.txt

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ Pull requests are welcome. For major changes, please open an issue first to disc
Please try to update tests as appropriate and ensure that documentation is updated if
you add any features accessible through the public API.

If you use this library and like it, feel free to sign up to GitLab and star the project,
If you use this library and like it, feel free to sign up to GitHub and star the project,
it is greatly appreciated and lets me know that I'm going in the right direction!

## Links
- **License:** [LGPLv3](https://choosealicense.com/licenses/lgpl-3.0/)
- **Repository:** [Gitlab](https://gitlab.com/tandemdude/lightbulb)
- **Documentation:** [GitLab Pages](https://tandemdude.gitlab.io/lightbulb/)
- **Repository:** [GitHub](https://github.com/tandemdude/hikari-lightbulb)
- **Documentation:** [ReadTheDocs](https://hikari-lightbulb.readthedocs.io/en/latest/)
1 change: 1 addition & 0 deletions docs/source/_static/css/badge_only.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading