diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8f0cf85..567931d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.5.0 hooks: - + - id: check-merge-conflict - id: check-yaml - id: check-added-large-files - id: check-ast diff --git a/LICENSE b/LICENSE index e454a52..e2c7e5b 100644 --- a/LICENSE +++ b/LICENSE @@ -176,3 +176,6 @@ END OF TERMS AND CONDITIONS +Additional Licensing for Language Models +---------------------------------------- +This repository utilizes various language models, each of which may be subject to its own individual license. Users are responsible for complying with the respective licenses of each model and should refer to the documentation accompanying each model for license details. diff --git a/pyproject.toml b/pyproject.toml index 1a9ec82..a7ae658 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,8 +3,37 @@ profile = "black" import_heading_stdlib = "Standard Library" import_heading_thirdparty = "Third Party" import_heading_firstparty = "Local" -known_third_party = ["openai","click", "core", "elasticsearch", "elasticsearch5", "fastapi", "importlib_resources", "flask", "gensim", "loglizer", "logparser", "matplotlib", "numpy", "pandas", "pydantic", "pytest", "regex", "requests", "scipy", "sklearn", "sompy", "sqlalchemy", "starlette", "torch", "urllib3", "yaml"] +known_third_party = [ + "openai", + "click", + "core", + "elasticsearch", + "elasticsearch5", + "fastapi", + "importlib_resources", + "flask", + "gensim", + "loglizer", + "logparser", + "matplotlib", + "numpy", + "pandas", + "pydantic", + "pytest", + "regex", + "requests", + "scipy", + "sklearn", + "sompy", + "sqlalchemy", + "starlette", + "torch", + "urllib3", + "yaml", +] known_first_party = ["tests", "app"] +sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"] +case_sensitive = true multi_line_output = 3 force_grid_wrap = 0 use_parentheses = true @@ -35,4 +64,4 @@ exclude = ''' [tool.pytest.ini_options] pythonpath = [ "." -] +] \ No newline at end of file