Skip to content

Commit

Permalink
Drop Python 2.7/3.5 support, code refactoring (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-viskov authored Nov 19, 2022
1 parent 203cfa6 commit e24b9f1
Show file tree
Hide file tree
Showing 77 changed files with 3,771 additions and 2,925 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ jobs:
with:
python-version: ${{ matrix.python }}
- run: pip install --upgrade pip
- run: pip install pylint==2.8.1 "tox<4"
- run: pip install "tox<4"
- run: tox -e py
14 changes: 14 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# File introduces automated checks triggered on git events
# to enable run `pip install pre-commit && pre-commit install`

repos:
- repo: local
hooks:
- id: black
name: black
description: "Black: The uncompromising Python code formatter"
entry: black
language: python
minimum_pre_commit_version: 2.9.2
require_serial: true
types_or: [ python, pyi ]
Loading

0 comments on commit e24b9f1

Please sign in to comment.