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

Name/onami #1

Merged
merged 2 commits into from
Nov 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
24 changes: 12 additions & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
- run:
name: run tests
command: |
PYTHONPATH="$(pwd)" pytest -vs --cov=jishaku --cov-report term-missing:skip-covered
PYTHONPATH="$(pwd)" pytest -vs --cov=onami --cov-report term-missing:skip-covered
flake8 .
pylint -j "$(nproc)" jishaku
pylint -j "$(nproc)" onami
isort . --check-only
python ./setup.py sdist bdist_egg bdist_wheel
rm -rf jishaku
rm -rf onami
find dist -name *.whl -exec pip install '{}' +
PYTHONPATH="$(pwd)" pytest -vs

Expand Down Expand Up @@ -63,12 +63,12 @@ jobs:
- run:
name: run tests
command: |
PYTHONPATH="$(pwd)" pytest -vs --cov=jishaku --cov-report term-missing:skip-covered
PYTHONPATH="$(pwd)" pytest -vs --cov=onami --cov-report term-missing:skip-covered
flake8 .
pylint -j "$(nproc)" jishaku
pylint -j "$(nproc)" onami
isort . --check-only
python ./setup.py sdist bdist_egg bdist_wheel
rm -rf jishaku
rm -rf onami
find dist -name *.whl -exec pip install '{}' +
PYTHONPATH="$(pwd)" pytest -vs

Expand Down Expand Up @@ -104,12 +104,12 @@ jobs:
- run:
name: run tests
command: |
PYTHONPATH="$(pwd)" pytest -vs --cov=jishaku --cov-report term-missing:skip-covered
PYTHONPATH="$(pwd)" pytest -vs --cov=onami --cov-report term-missing:skip-covered
flake8 .
pylint -j "$(nproc)" jishaku
pylint -j "$(nproc)" onami
isort . --check-only
python ./setup.py sdist bdist_egg bdist_wheel
rm -rf jishaku
rm -rf onami
find dist -name *.whl -exec pip install '{}' +
PYTHONPATH="$(pwd)" pytest -vs

Expand Down Expand Up @@ -145,12 +145,12 @@ jobs:
- run:
name: run tests
command: |
PYTHONPATH="$(pwd)" pytest -vs --cov=jishaku --cov-report term-missing:skip-covered
PYTHONPATH="$(pwd)" pytest -vs --cov=onami --cov-report term-missing:skip-covered
flake8 .
pylint -j "$(nproc)" jishaku
pylint -j "$(nproc)" onami
isort . --check-only
python ./setup.py sdist bdist_egg bdist_wheel
rm -rf jishaku
rm -rf onami
find dist -name *.whl -exec pip install '{}' +
PYTHONPATH="$(pwd)" pytest -vs

Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ about: Report broken or incorrect behavior or functionality

<!-- To check a box, place an x in the box (with no spaces), like so: [x] -->

- [ ] I have updated discord.py and jishaku to the latest available versions and have confirmed that this issue is still present
- [ ] I have updated discord.py and onami to the latest available versions and have confirmed that this issue is still present
- [ ] I have searched the open issues for duplicates
- [ ] I have shown the entire traceback, if possible
- [ ] I have removed my token from display, if visible

## System information

<!-- Post information both about your jishaku AND discord.py version here -->
<!-- Post information both about your onami AND discord.py version here -->
<!-- You can get information about discord.py by running `python -m discord -v` -->
<!-- You can get your jishaku version by running `pip show jishaku` -->
<!-- You can get your onami version by running `pip show onami` -->
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<!-- To check a box, place an x in the box (with no spaces), like so: [x] -->

- [ ] This PR changes the jishaku module/cog codebase
- [ ] This PR changes the onami module/cog codebase
- [ ] These changes add new functionality to the module/cog
- [ ] These changes fix an issue or bug in the module/cog
- [ ] I have tested that these changes work on a production bot codebase
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ jobs:
- name: Test from local directory
shell: bash
run: |
PYTHONPATH="$(pwd)" pytest -vs --cov=jishaku --cov-report term-missing:skip-covered
PYTHONPATH="$(pwd)" pytest -vs --cov=onami --cov-report term-missing:skip-covered

- name: Lint repository
shell: bash
run: |
echo "flake8:"
flake8 .
echo "pylint:"
pylint jishaku
pylint onami
echo "isort:"
isort . --check-only

Expand All @@ -54,7 +54,7 @@ jobs:
run: |
export tag_name="${GITHUB_REF##*/}"
python ./setup.py sdist bdist_egg bdist_wheel
rm -rf jishaku
rm -rf onami
find dist -name *.whl -exec pip install '{}' +

- name: Test from installed module
Expand Down
6 changes: 3 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ stages:

.run_tests: &run_tests
script:
- PYTHONPATH="$(pwd)" pytest -vs --cov=jishaku --cov-report term-missing:skip-covered
- PYTHONPATH="$(pwd)" pytest -vs --cov=onami --cov-report term-missing:skip-covered
- flake8 .
- pylint -j "$(nproc)" jishaku
- pylint -j "$(nproc)" onami
- isort . --check-only
- python ./setup.py sdist bdist_egg bdist_wheel
- rm -rf jishaku
- rm -rf onami
- find dist -name *.whl -exec pip install '{}' +
- PYTHONPATH="$(pwd)" pytest -vs
- cd docs && make html
Expand Down
2 changes: 1 addition & 1 deletion .isort.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[settings]
line_length=160
known_third_party=discord
known_first_party=jishaku
known_first_party=onami
2 changes: 1 addition & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"args": [
"-vs",
".",
"--cov=jishaku",
"--cov=onami",
"--cov-report",
"term-missing:skip-covered"
],
Expand Down