Closed roniemartinez closed 1 year ago
Example: https://github.com/roniemartinez/dude/blob/136ef39ec25a781b76b0749dac6158d84b056cab/pyproject.toml#L34-L48
The example when sorted will sort everything and ignore optionals
[tool.poetry.dependencies] python = "^3.7" braveblock = ">=0.1.13,<0.4.0" playwright = "^1.19.0" PyYAML = "^6.0" # optionals beautifulsoup4 = { version = "^4.10.0", optional = true } cssselect = { version = "^1.1.0", optional = true } httpx = { version = ">=0.22,<0.24", optional = true } lxml = { version = "^4.8.0", optional = true } parsel = { version = "^1.6.0", optional = true } pybrowsers = {version = ">=0.4.1,<0.6.0", optional = true} pyppeteer = { version = "^1.0.2", optional = true } selenium-wire = { version = ">=4.6.2,<6.0.0", optional = true } webdriver-manager = { version = "^3.7.0", optional = true }
@roniemartinez Try move-optionals-to-bottom = true setting for that
move-optionals-to-bottom = true
@andrei-shabanski Thank you! I am using it now. 🙇
Example: https://github.com/roniemartinez/dude/blob/136ef39ec25a781b76b0749dac6158d84b056cab/pyproject.toml#L34-L48
The example when sorted will sort everything and ignore optionals