Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
Enable code quality checks on linux only
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoandre-avaiga committed Sep 28, 2021
1 parent 787a31e commit 26d3cc9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ root = true
[*]
indent_style = space
indent_size = 4
max_line_length = 88
max_line_length = 120
trim_trailing_whitespace = true
insert_final_newline = true
charset = utf-8
Expand Down
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[flake8]
# required by black, https://github.com/psf/black/blob/master/.flake8
max-line-length = 88
max-line-length = 120
max-complexity = 18
ignore = E203, E266, E501, E722, W503, F403, F401
select = B,C,E,F,W,T4,B9
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,13 @@ jobs:
run: |
pipenv install --deploy --dev
- id: code-quality
if: matrix.os == 'ubuntu-latest'
uses: ricardochaves/[email protected]
with:
python-root-list: "taipy tests"
use-pylint: false
use-isort: false
extra-pycodestyle-options: "--max-line-length=88 --ignore=E203,E266,E501,E722,W503,F403,F401"
extra-pycodestyle-options: "--max-line-length=120 --ignore=E203,E266,E501,E722,W503,F403,F401"
extra-mypy-options: "--ignore-missing-imports"
- name: test with tox
run:
Expand Down
2 changes: 1 addition & 1 deletion .isort.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ include_trailing_comma = True
force_grid_wrap = 0
use_parentheses = True
ensure_newline_before_comments = True
line_length = 88
line_length = 120
# you can skip files as below
#skip_glob = docs/conf.py
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ repos:
rev: 21.8b0
hooks:
- id: black
args: [--line-length=120]
language_version: python3.9
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
Expand Down

0 comments on commit 26d3cc9

Please sign in to comment.