Skip to content

Commit

Permalink
sample files: simpler isort configuration
Browse files Browse the repository at this point in the history
fixes OCA#625
closes OCA#629
  • Loading branch information
sbidoul committed Mar 2, 2020
1 parent 6315cd7 commit 5dd2828
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion sample_files/pre-commit-13.0/.isort.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ line_length=88
known_odoo=odoo
known_odoo_addons=odoo.addons
sections=FUTURE,STDLIB,THIRDPARTY,ODOO,ODOO_ADDONS,FIRSTPARTY,LOCALFOLDER
known_third_party=
default_section=THIRDPARTY
8 changes: 2 additions & 6 deletions sample_files/pre-commit-13.0/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,8 @@ repos:
rev: v1.26.2
hooks:
- id: pyupgrade
- repo: https://github.com/asottile/seed-isort-config
rev: v1.9.4
hooks:
- id: seed-isort-config
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.21
- repo: https://github.com/timothycrosley/isort
rev: 4.3.21-2
hooks:
- id: isort
name: isort except __init__.py
Expand Down

0 comments on commit 5dd2828

Please sign in to comment.