@@ -43,46 +43,45 @@ export = "poetry_plugin_export.plugins:ExportApplicationPlugin"
4343[tool .ruff ]
4444fix = true
4545unfixable = [
46- " ERA" , # do not autoremove commented out code
46+ " ERA" , # do not autoremove commented out code
4747]
4848target-version = " py37"
4949line-length = 88
5050extend-select = [
51- " B" , # flake8-bugbear
51+ " B" , # flake8-bugbear
5252 " C4" , # flake8-comprehensions
53- " ERA" , # flake8-eradicate/eradicate
54- " PIE" , # flake8-pie
55- " SIM" , # flake8-simplify
56- " TID" , # flake8-tidy-imports
57- " TCH" , # flake8-type-checking
58- " N" , # pep8-naming
59- " RUF" , # ruff checks
60- ]
61- ignore = [
62- " B904" , # use 'raise ... from err'
63- " B905" , # use explicit 'strict=' parameter with 'zip()'
64- " N818" # Exception name should be named with an Error suffix
53+ " ERA" , # flake8-eradicate/eradicate
54+ " I" , # isort
55+ " N" , # pep8-naming
56+ " PIE" , # flake8-pie
57+ " PGH" , # pygrep
58+ " RUF" , # ruff checks
59+ " SIM" , # flake8-simplify
60+ " TCH" , # flake8-type-checking
61+ " TID" , # flake8-tidy-imports
62+ " UP" , # pyupgrade
6563]
6664extend-exclude = [
6765 " docs/*" ,
6866 # External to the project's coding standards
6967 " tests/**/fixtures/*" ,
7068]
7169
70+ [tool .ruff .flake8-tidy-imports ]
71+ ban-relative-imports = " all"
72+
73+ [tool .ruff .isort ]
74+ force-single-line = true
75+ lines-between-types = 1
76+ lines-after-imports = 2
77+ known-first-party = [" poetry_plugin_export" ]
78+ required-imports = [" from __future__ import annotations" ]
79+
7280
7381[tool .black ]
7482target-version = [' py37' ]
7583preview = true
7684
77- [tool .isort ]
78- profile = " black"
79- force_single_line = true
80- atomic = true
81- include_trailing_comma = true
82- lines_after_imports = 2
83- lines_between_types = 1
84- use_parentheses = true
85-
8685[tool .mypy ]
8786namespace_packages = true
8887show_error_codes = true
0 commit comments