chore: import upstream snapshot with attribution
tools_continuous_delivery / Private PyPI non-main branch release (push) Has been skipped
tools_continuous_delivery / Private PyPI main branch release (push) Failing after 2m42s
Publish Promptflow Doc / Build (push) Has been cancelled
Publish Promptflow Doc / Deploy (push) Has been cancelled
Flake8 Lint / flake8 (push) Has been cancelled
Spell check CI / Spell_Check (push) Has been cancelled
tools_continuous_delivery / Private PyPI non-main branch release (push) Has been skipped
tools_continuous_delivery / Private PyPI main branch release (push) Failing after 2m42s
Publish Promptflow Doc / Build (push) Has been cancelled
Publish Promptflow Doc / Deploy (push) Has been cancelled
Flake8 Lint / flake8 (push) Has been cancelled
Spell check CI / Spell_Check (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
[flake8]
|
||||
extend-ignore = E203, E266, W503, F403, F821
|
||||
max-line-length = 120
|
||||
enable-extensions = E123,E133,E241,E242,E704,W505
|
||||
exclude =
|
||||
.git
|
||||
.tox
|
||||
.eggs
|
||||
__pycache__
|
||||
tests/fixtures/*
|
||||
docs/*
|
||||
venv,.pytest_cache
|
||||
build
|
||||
src/promptflow-azure/promptflow/azure/_restclient
|
||||
src/promptflow-azure/promptflow/azure/_models
|
||||
src/promptflow-core/promptflow/core/_connection_provider/_models
|
||||
src/promptflow/tests/test_configs/*
|
||||
import-order-style = google
|
||||
|
||||
[mypy]
|
||||
ignore_missing_imports = True
|
||||
disallow_untyped_defs = True
|
||||
|
||||
[mypy-pytest,pytest_mock]
|
||||
ignore_missing_imports = True
|
||||
|
||||
[tool:pycln]
|
||||
quiet = True
|
||||
|
||||
[black]
|
||||
line_length = 120
|
||||
|
||||
[pycln]
|
||||
silence = True
|
||||
|
||||
[isort]
|
||||
# we use check for make fmt*
|
||||
profile = "black"
|
||||
# no need to fmt ignored
|
||||
skip_gitignore = true
|
||||
# needs to be the same as in black
|
||||
line_length = 120
|
||||
use_parentheses = true
|
||||
include_trailing_comma = true
|
||||
honor_noqa = true
|
||||
ensure_newline_before_comments = true
|
||||
skip_glob = [
|
||||
docs/**,
|
||||
pipelines/**,
|
||||
pytest/**,
|
||||
samples/**,
|
||||
]
|
||||
known_third_party = azure,mock,numpy,pandas,pydash,pytest,pytest_mock,requests,setuptools,six,sklearn,tqdm,urllib3,utilities,utils,yaml,jsonschema,strictyaml,jwt,pathspec,isodate,docker
|
||||
known_first_party = promptflow
|
||||
Reference in New Issue
Block a user