[project] name = "world" version = "0.1.0" description = "collection of tools and scripts" authors = [{ name = "Franck Cuny", email = "franck@fcuny.net" }] dependencies = [ "bs4>=0.0.2", "requests>=2.31.0", "prettytable>=3.10.0", "termcolor>=2.4.0", "click>=8.1.7", "ipython>=8.24.0", ] readme = "README.md" requires-python = ">= 3.8" [build-system] requires = ["hatchling"] build-backend = "hatchling.build" [tool.rye] managed = true dev-dependencies = [ "python-lsp-server[all]>=1.11.0", "python-lsp-ruff>=2.2.1", "types-requests>=2.31.0.20240406", ] [tool.hatch.metadata] allow-direct-references = true [tool.hatch.build.targets.wheel] packages = ["src/cli", "src/rbx_nomad"] [tool.ruff] line-length = 120 [tool.ruff.format] docstring-code-format = true [tool.ruff.lint] select = [ # isort "I", # bugbear rules "B", # remove unused imports "F401", # bare except statements "E722", # unused arguments "ARG", # misuse of typing.TYPE_CHECKING "TCH004", # import rules "TID251", ] [tool.ruff.lint.pycodestyle] max-line-length = 120 [tool.ruff.lint.isort] length-sort = true length-sort-straight = true combine-as-imports = true known-first-party = ["rbx_nomad", "term", "git"] [project.scripts] gha_billing = "cli.gha_billing:cli" hashienv = "cli.hashienv:cli" int2ip = "cli.ipconverter:int2ip" ip2int = "cli.ipconverter:ip2int" nomad_allocs = "cli.nomad_allocs:cli" pizza = "cli.pizza:main" seqstat = "cli.seqstat:cli" slocalc = "cli.slocalc:cli"