Skip to content
This repository has been archived by the owner on Nov 22, 2021. It is now read-only.

Commit

Permalink
Update development files
Browse files Browse the repository at this point in the history
- Bump Black to 20.8b1
- Use black separately, not as flake8 addon
- Bump discord.py version to 1.4.1
- Remove pyproject.toml (it was being ignored anyways)
  • Loading branch information
sinus-x committed Sep 2, 2020
1 parent c807c88 commit 0afa113
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 37 deletions.
5 changes: 2 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@ repos:
- id: requirements-txt-fixer

- repo: https://github.com/psf/black
rev: 19.10b0
rev: 20.8b1
hooks:
- id: black

- repo: https://gitlab.com/pycqa/flake8
rev: '3.8.2'
hooks:
- id: flake8
additional_dependencies: [flake8-black]
args:
- --isolated
- --select=BLK,E9,F7,F82,F831
- --select=E9,F7,F82,F831
2 changes: 1 addition & 1 deletion .sublime-project
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"default_line_ending": "unix",

"sublack.black_on_save": true,
"sublack.black_line_length": 100,
"sublack.black_line_length": 110,
"sublack.black_log": "error"
}
}
30 changes: 0 additions & 30 deletions pyproject.toml

This file was deleted.

3 changes: 1 addition & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
black
black >= 20.8b1
flake8
flake8-black
flake8-print
flake8-todo
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
discord.py >= 1.4.0
discord.py >= 1.4.1
GitPython >= 3.1.2
redis >= 3.5.3

0 comments on commit 0afa113

Please sign in to comment.