Skip to content

Commit ffddf35

Browse files
committed
fix: include package main/init files as well as submodules
1 parent 29c5061 commit ffddf35

1 file changed

Lines changed: 34 additions & 28 deletions

File tree

pyproject.toml

Lines changed: 34 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -55,41 +55,47 @@ lark = ["lark"]
5555
[tool.ruff]
5656
line-length = 127
5757
exclude = [
58-
".bzr",
59-
".direnv",
60-
".eggs",
61-
".git",
62-
".git-rewrite",
63-
".hg",
64-
".ipynb_checkpoints",
65-
".mypy_cache",
66-
".nox",
67-
".pants.d",
68-
".pyenv",
69-
".pytest_cache",
70-
".pytype",
71-
".ruff_cache",
72-
".svn",
73-
".tox",
74-
".venv",
75-
".vscode",
76-
"__pypackages__",
77-
"_build",
78-
"buck-out",
79-
"build",
80-
"dist",
81-
"node_modules",
82-
"site-packages",
83-
"venv",
58+
".bzr",
59+
".direnv",
60+
".eggs",
61+
".git",
62+
".git-rewrite",
63+
".hg",
64+
".ipynb_checkpoints",
65+
".mypy_cache",
66+
".nox",
67+
".pants.d",
68+
".pyenv",
69+
".pytest_cache",
70+
".pytype",
71+
".ruff_cache",
72+
".svn",
73+
".tox",
74+
".venv",
75+
".vscode",
76+
"__pypackages__",
77+
"_build",
78+
"buck-out",
79+
"build",
80+
"dist",
81+
"node_modules",
82+
"site-packages",
83+
"venv",
8484
]
8585
[tool.ruff.lint]
86-
select = ["E9", "F63", "F7", "F82"] # , "C901"] # uncomment to re-enable mccabe complexity - see https://github.com/TimMcCool/scratchattach/issues/566
86+
select = [
87+
"E9",
88+
"F63",
89+
"F7",
90+
"F82",
91+
] # , "C901"] # uncomment to re-enable mccabe complexity - see https://github.com/TimMcCool/scratchattach/issues/566
8792

8893
[tool.ruff.lint.mccabe]
8994
# max-complexity = 10
9095

9196
[tool.setuptools.packages.find]
92-
where = ["scratchattach"]
97+
where = ["."]
98+
include = ["scratchattach*"]
9399

94100
[dependency-groups]
95101
dev = ["cryptography>=46.0.3", "pytest>=9.0.2"]

0 commit comments

Comments
 (0)