Skip to content

Commit

Permalink
modify directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
kimusaku committed Aug 10, 2023
1 parent a89f907 commit 2ada5fa
Show file tree
Hide file tree
Showing 80 changed files with 44 additions and 21 deletions.
16 changes: 16 additions & 0 deletions .pysen/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[tool]
[tool.black] # automatically generated by pysen
# pysen ignores and overwrites any modifications
line-length = 120
target-version = ["py310"]

[tool.isort] # automatically generated by pysen
# pysen ignores and overwrites any modifications
default_section = "THIRDPARTY"
ensure_newline_before_comments = true
force_grid_wrap = 0
force_single_line = false
include_trailing_comma = true
line_length = 120
multi_line_output = 3
use_parentheses = true
11 changes: 11 additions & 0 deletions .pysen/setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[flake8]
# automatically generated by pysen
# pysen ignores and overwrites any modifications
# e203: black treats : as a binary operator
# e231: black doesn't put a space after ,
# e501: black may exceed the line-length to follow other style rules
# w503 or w504: either one needs to be disabled to select w error codes
ignore = E203,E231,E501,W503
max-line-length = 120
select = B,B950,C,E,F,W

30 changes: 13 additions & 17 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ include = ["core/**/*.py", "templates/**/*.py.jinja"]
[tool.poetry.dependencies]
python = ">=3.9,<3.13"
sapientml = "^0.1.4"
sapientml-loaddata = "^0.1.0"
sapientml-preprocess = "^0.1.0"
sapientml-loaddata = "^0.1.2"
sapientml-preprocess = "^0.1.2"

[tool.poetry.group.dev.dependencies]
pytest = "^7.4.0"
Expand All @@ -27,7 +27,7 @@ requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.poetry.plugins."pipeline_generator"]
sapientml_core = "core:SapientMLGenerator"
sapientml_core = "sapientml_core:SapientMLGenerator"

[tool.pysen]
version = "0.10"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

logger = logging.getLogger("sapientml")
env = Environment(
loader=FileSystemLoader(f"{os.path.dirname(__file__)}/../../../templates"), trim_blocks=True
loader=FileSystemLoader(f"{os.path.dirname(__file__)}/../../templates"), trim_blocks=True
)

MODEL_IMPORT_LIBRARY_MAP = {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2ada5fa

Please sign in to comment.