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

GH-93: change formatter #94

Merged
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ jobs:
run: |
source .venv/bin/activate
isort -m 9 --line-length 160 $MODULE_NAME tests --check-only
pylint --load-plugins pylint_quotes $MODULE_NAME tests
pylint $MODULE_NAME tests
docformatter --wrap-summaries 160 --wrap-descriptions 160 -cr $MODULE_NAME tests
yapf -rd $MODULE_NAME tests
black --check $MODULE_NAME tests
mypy -V
mypy $MODULE_NAME tests
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ downloads/
eggs/
.eggs/
lib/
Lib/
lib64/
parts/
sdist/
Expand Down Expand Up @@ -129,4 +130,4 @@ dmypy.json
.pyre/

# IDE files
.idea
.idea
7 changes: 0 additions & 7 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
[MASTER]
# init-hook="from pylint.config import find_pylintrc; import os, sys; sys.path.append(os.path.dirname(find_pylintrc())); import pylint_venv; pylint_venv.inithook('./.venv')"
load-plugins=pylint_absolute_imports, pylint_quotes
ignore=.venv,setup.py

[DESIGN]
Expand All @@ -26,11 +24,6 @@ max-locals=20
# Make docstring compulsory for all functions
no-docstring-rgx=$^

# MODULE-PARAM: pylint-quotes
string-quote=single
triple-quote=double
docstring-quote=double

[ELIF]

# Maximum number of nested blocks for function/method body
Expand Down
Loading