Skip to content

Commit

Permalink
set package-dir folder
Browse files Browse the repository at this point in the history
  • Loading branch information
0xbe7a committed May 22, 2024
1 parent 1a3b422 commit 0094679
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,11 @@ dynamic = ["version"]
[project.urls]
Home = "https://github.com/quantco/multiregex"

[tool.setuptools]
package-dir = { "" = "src" }

[tool.setuptools.packages.find]
include = ["multiregex"]
include = ["src/multiregex"]
namespaces = false

[tool.isort]
Expand All @@ -56,15 +59,16 @@ line-length = 88

[tool.ruff.lint]
ignore = [
"N803", # https://docs.astral.sh/ruff/rules/invalid-argument-name
"N806", # https://docs.astral.sh/ruff/rules/non-lowercase-variable-in-function
"E501", # https://docs.astral.sh/ruff/faq/#is-the-ruff-linter-compatible-with-black
"N803", # https://docs.astral.sh/ruff/rules/invalid-argument-name
"N806", # https://docs.astral.sh/ruff/rules/non-lowercase-variable-in-function
"E501", # https://docs.astral.sh/ruff/faq/#is-the-ruff-linter-compatible-with-black
]
select = [
# pyflakes
"F",
# pycodestyle
"E", "W",
"E",
"W",
# isort
"I",
# pep8-naming
Expand Down

0 comments on commit 0094679

Please sign in to comment.