forked from ploomber/jupysql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
34 lines (30 loc) · 853 Bytes
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[tool.pytest.ini_options]
addopts = "--pdbcls=IPython.terminal.debugger:Pdb"
[tool.pkgmt]
github = "ploomber/jupysql"
env_name = "jupysql"
package_name = "sql"
[tool.pkgmt.check_links]
extensions = ["md", "rst", "py", "ipynb"]
ignore_substrings = [
"d37ci6vzurychx.cloudfront.net",
"https://bornsql.ca",
"127.0.0.1",
"http://localhost",
"https://localhost",
"platform.ploomber.io",
"https://ourworldindata.org",
]
[tool.nbqa.addopts]
flake8 = [
# notebooks allow non-top imports
"--extend-ignore=E402",
# jupysql notebooks might have "undefined name" errors
# due to the << operator
# W503, W504 ignore line break after/before
# binary operator since they are conflicting
"--ignore=F821, W503, W504",
]
[tool.codespell]
skip = '.git,_build,build,*.drawio,*.ipynb'
ignore-words-list = 'whis'