From c8b0454694232de813382a66ef26d2d7d603d76d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sun, 1 Mar 2020 10:33:51 +0100 Subject: [PATCH] sample files: simpler isort configuration fixes #625 closes #629 --- sample_files/pre-commit-13.0/.isort.cfg | 2 +- sample_files/pre-commit-13.0/.pre-commit-config.yaml | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/sample_files/pre-commit-13.0/.isort.cfg b/sample_files/pre-commit-13.0/.isort.cfg index 5751c40dd..7683badfa 100644 --- a/sample_files/pre-commit-13.0/.isort.cfg +++ b/sample_files/pre-commit-13.0/.isort.cfg @@ -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 diff --git a/sample_files/pre-commit-13.0/.pre-commit-config.yaml b/sample_files/pre-commit-13.0/.pre-commit-config.yaml index 963476d18..13687fd86 100644 --- a/sample_files/pre-commit-13.0/.pre-commit-config.yaml +++ b/sample_files/pre-commit-13.0/.pre-commit-config.yaml @@ -85,10 +85,6 @@ 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 hooks: