Skip to content

Commit

Permalink
refactor: move from flat layout to src layout (osl-incubator#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhijeetSaroha authored Nov 24, 2023
1 parent e14b963 commit fbb2b67
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 26 deletions.
35 changes: 9 additions & 26 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,13 @@ license = "BSD 3 Clause"
repository = "https://github.com/osl-incubator/makim"
homepage = "https://github.com/osl-incubator/makim"
readme = "README.md"
include = [
"*.cfg",
"*.ini",
"*.js",
"*.json",
"*.lock",
"*.md",
"*.py",
"*.sh",
"*.rst",
"*.txt",
"*.toml",
"*.yml",
"*.yaml",
".github",
"conda",
"docker",
"docs",
".dockerignore",
".env.tpl",
".gitignore",
"Makefile",

packages = [
{include = "makim", from="src"},
]

include = ["src/makim/py.typed"]

exclude = [
".git/*",
".env*",
Expand All @@ -38,7 +22,6 @@ exclude = [
[tool.poetry.scripts]
"makim" = "makim.__main__:app"


[tool.poetry.dependencies]
python = "^3.8.1"
sh = ">=2.0.0"
Expand Down Expand Up @@ -82,7 +65,7 @@ ignore_missing_imports = true
[tool.ruff]
line-length = 79
force-exclude = true
src = ["./makim", "./tests"]
src = ["./src/makim", "./tests"]
ignore = ["RUF012"]
exclude = [
"docs",
Expand Down Expand Up @@ -112,14 +95,14 @@ quote-style = "single"

[tool.bandit]
exclude_dirs = ["tests"]
targets = "makim/"
targets = "src/makim/"

[tool.vulture]
exclude = ["tests"]
ignore_decorators = []
ignore_names = []
make_whitelist = true
min_confidence = 80
paths = ["makim/"]
paths = ["src/makim/"]
sort_by_size = true
verbose = false
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file added src/makim/py.typed
Empty file.

0 comments on commit fbb2b67

Please sign in to comment.