1- # ########################
2- # PEP 621 configuration #
3- # ########################
4-
51[build-system ]
62requires = [" hatchling" ]
73build-backend = " hatchling.build"
@@ -101,17 +97,9 @@ documentation = "https://crawlee.dev/python/docs/"
10197issue_tracker = " https://github.com/apify/crawlee-python/issues"
10298repository = " https://github.com/apify/crawlee-python"
10399
104- # ######################
105- # Hatch configuration #
106- # ######################
107-
108100[tool .hatch .build .targets .wheel ]
109101packages = [" src/crawlee" ]
110102
111- # #####################
112- # Ruff configuration #
113- # #####################
114-
115103[tool .ruff ]
116104line-length = 120
117105include = [" src/**/*.py" , " tests/**/*.py" , " docs/**/*.py" , " website/**/*.py" ]
@@ -194,20 +182,12 @@ known-first-party = ["crawlee"]
194182[tool .ruff .lint .pylint ]
195183max-branches = 18
196184
197- # #######################
198- # Pytest configuration #
199- # #######################
200-
201185[tool .pytest .ini_options ]
202186addopts = " -ra"
203187asyncio_default_fixture_loop_scope = " function"
204188asyncio_mode = " auto"
205189timeout = 1200
206190
207- # #####################
208- # Mypy configuration #
209- # #####################
210-
211191[tool .mypy ]
212192python_version = " 3.9"
213193plugins = [" pydantic.mypy" ]
@@ -234,25 +214,13 @@ module = [
234214]
235215ignore_missing_imports = true
236216
237- # #############################
238- # BasedPyright configuration #
239- # #############################
240-
241217[tool .basedpyright ]
242218pythonVersion = " 3.9"
243219typeCheckingMode = " standard"
244220include = [" src" , " tests" , " docs" , " website" ]
245221
246- # #########################
247- # Coverage configuration #
248- # #########################
249-
250222[tool .coverage .report ]
251223exclude_lines = [" pragma: no cover" , " if TYPE_CHECKING:" , " assert_never()" ]
252224
253- # #####################
254- # Ipdb configuration #
255- # #####################
256-
257225[tool .ipdb ]
258226context = 7
0 commit comments