GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — tmuxp/pyproject.toml at test-cli-load-multiple--append · tmux-python/tmuxp Expand file tree/ Copy pathpyproject.tomlMore file actions 293 lines (274 loc) · 8.08 KB / Copy pathpyproject.tomlFile metadata and controls293 lines (274 loc) · 8.08 KB 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 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 [project] name = "tmuxp" version = "1.75.0" description = "Session manager for tmux, which allows users to save and load tmux sessions through simple configuration files." requires-python = ">=3.10,<4.0" authors = [ ] license = { text = "MIT" } classifiers = [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: MIT License", "Operating System :: POSIX", "Operating System :: MacOS :: MacOS X", "Environment :: Web Environment", "Intended Audience :: Developers", "Programming Language :: Python", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Utilities", "Topic :: System :: Shells", ] keywords = ["tmux", "session manager", "terminal", "ncurses"] homepage = "http://github.com/tmux-python/tmuxp/" readme = "README.md" packages = [ { include = "*", from = "src" }, ] include = [ { path = "CHANGES", format = "sdist" }, { path = ".tmuxp.yaml", format = "sdist" }, { path = "tests", format = "sdist" }, { path = "examples", format = "sdist" }, { path = "docs", format = "sdist" }, { path = "conftest.py", format = "sdist" }, ] dependencies = [ "libtmux~=0.61.0", "PyYAML>=6.0" ] [project.urls] "Bug Tracker" = "https://github.com/tmux-python/tmuxp/issues" Documentation = "https://tmuxp.git-pull.com" Repository = "https://github.com/tmux-python/tmuxp" Changes = "https://github.com/tmux-python/tmuxp/blob/master/CHANGES" [project.scripts] tmuxp = 'tmuxp:cli.cli' [project.entry-points."tmuxp.workspace_builders"] classic = "tmuxp.workspace.builder.classic:ClassicWorkspaceBuilder" [dependency-groups] dev = [ # Docs "aafigure", # https://launchpad.net/aafigure "gp-sphinx==0.1.0a39", # https://gp-sphinx.git-pull.com/ "sphinx-autodoc-argparse==0.1.0a39", # https://gp-sphinx.git-pull.com/ "sphinx-autodoc-api-style==0.1.0a39", "sphinx-gp-highlighting==0.1.0a39", # https://gp-sphinx.git-pull.com/ "sphinx-gp-mermaid==0.1.0a39", # https://gp-sphinx.git-pull.com/ "gp-libs>=0.0.19", # https://gp-libs.git-pull.com/ "sphinx-autobuild", # https://sphinx-extensions.readthedocs.io/en/latest/sphinx-autobuild.html # Testing "gp-libs>=0.0.19", "pytest", "pytest-rerunfailures", "pytest-mock", "pytest-watcher", # Coverage "codecov", "coverage", "pytest-cov", # Lint "ruff>=0.16.1", "mypy", "types-docutils", "types-Pygments", "types-PyYAML", ] docs = [ "aafigure", # https://launchpad.net/aafigure "gp-sphinx==0.1.0a39", # https://gp-sphinx.git-pull.com/ "sphinx-autodoc-argparse==0.1.0a39", # https://gp-sphinx.git-pull.com/ "sphinx-autodoc-api-style==0.1.0a39", "sphinx-gp-highlighting==0.1.0a39", # https://gp-sphinx.git-pull.com/ "sphinx-gp-mermaid==0.1.0a39", # https://gp-sphinx.git-pull.com/ "gp-libs>=0.0.19", # https://gp-libs.git-pull.com/ "sphinx-autobuild", # https://sphinx-extensions.readthedocs.io/en/latest/sphinx-autobuild.html ] testing = [ "gp-libs>=0.0.19", "pytest", "pytest-rerunfailures", "pytest-mock", "pytest-watcher", ] coverage =[ "codecov", "coverage", "pytest-cov", ] lint = [ "ruff>=0.16.1", "mypy", "types-docutils", "types-Pygments", "types-PyYAML", ] [build-system] requires = ["hatchling"] build-backend = "hatchling.build" [tool.hatch.build.targets.wheel] # AGENTS.md (+ its CLAUDE.md symlink) is contributor guidance, not a package # resource; hatchling's default src-layout packaging would otherwise ship it # inside every install. exclude = [ "src/tmuxp/AGENTS.md", "src/tmuxp/CLAUDE.md", ] [tool.uv.exclude-newer-package] # git-pull packages release in lockstep with their workspaces, so a # fresh release blocking on the 3-day cooldown blocks every # contributor's `uv sync` until it clears. `false` exempts each # from any `exclude-newer` constraint (global or per-user) without # committing a date that would age into the lockfile. Mirrors the # pattern at vcspull/pyproject.toml for libvcs. gp-libs = false gp-furo-theme = false gp-sphinx = false libtmux = false sphinx-autodoc-api-style = false sphinx-autodoc-argparse = false sphinx-autodoc-docutils = false sphinx-autodoc-fastmcp = false sphinx-autodoc-pytest-fixtures = false sphinx-autodoc-sphinx = false sphinx-autodoc-typehints-gp = false sphinx-fonts = false sphinx-gp-highlighting = false sphinx-gp-mermaid = false sphinx-gp-opengraph = false sphinx-gp-llms = false sphinx-gp-sitemap = false sphinx-gp-theme = false sphinx-ux-autodoc-layout = false sphinx-ux-badges = false [tool.coverage.run] branch = true source = [ "tmuxp", ] omit = [ "tests/*", "*/_vendor/*", "*/_*", "pkg/*", "*/log.py", "docs/_ext/*", ] [tool.coverage.report] exclude_lines = [ "pragma: no cover", "def __repr__", "raise NotImplementedError", "if __name__ == .__main__.:", "def parse_args", "from __future__ import annotations", "if TYPE_CHECKING:", "if t.TYPE_CHECKING:", ] [tool.mypy] strict = true python_version = "3.10" files = [ "src/", "tests/", ] enable_incomplete_feature = [] [[tool.mypy.overrides]] module = [ "shtab", "IPython.*", "ptpython.*", "prompt_toolkit.*", "bpython", "aafigure", ] ignore_missing_imports = true [tool.ruff] target-version = "py310" [tool.ruff.lint] # `select` is deliberately unset: ruff 0.16 enables a curated default rule # set, and an explicit `select` would replace it rather than extend it. # `extend-select` layers this project's additional linters on top. extend-select = [ "E", # pycodestyle "F", # pyflakes "I", # isort "UP", # pyupgrade "A", # flake8-builtins "B", # flake8-bugbear "C4", # flake8-comprehensions "COM", # flake8-commas "EM", # flake8-errmsg "Q", # flake8-quotes "PTH", # flake8-use-pathlib "SIM", # flake8-simplify "TRY", # Trycertatops "PERF", # Perflint "RUF", # Ruff-specific rules "D", # pydocstyle "FA100", # future annotations ] ignore = [ "COM812", # missing trailing comma, ruff format conflict ] extend-safe-fixes = [ "UP006", "UP007", ] pyupgrade.keep-runtime-typing = false [tool.ruff.lint.isort] known-first-party = [ "tmuxp", ] combine-as-imports = true required-imports = [ "from __future__ import annotations", ] [tool.ruff.lint.flake8-builtins] builtins-allowed-modules = [ "types", ] [tool.ruff.lint.pydocstyle] convention = "numpy" [tool.ruff.lint.per-file-ignores] "*/__init__.py" = ["F401"] "src/tmuxp/workspace/finders.py" = ["PTH"] "src/tmuxp/cli/*.py" = ["PTH"] "docs/_ext/aafig.py" = ["PTH"] # `breakpoint = breakpoint` is not a no-op at module scope: the right-hand # side resolves to the builtin, and the assignment binds it as a module # attribute so `from tmuxp._compat import breakpoint` resolves. Module # attribute lookup does not fall back to builtins, so dropping the line # breaks the import in `tmuxp.cli.shell`. "src/tmuxp/_compat.py" = ["PLW0127"] # Sphinx reads the package's version metadata by `exec`-ing `__about__.py` # into a dict, so `conf.py` never imports the package it documents. "docs/conf.py" = ["S102"] # `tmuxp shell -c` documents itself as "execute python code in libtmux and # exit"; running the operator's own code in a tmux-aware namespace is the # command's purpose, not an injection sink. "src/tmuxp/cli/shell.py" = ["S102"] # The interactive console honors `$PYTHONSTARTUP` and `~/.pythonrc.py` by # `exec`-ing them, mirroring how CPython's own REPL sources them. "src/tmuxp/shell.py" = ["S102"] # A log formatter must never raise: `record.getMessage()` interpolates # caller-supplied args, so anything their `__str__` throws has to be # rendered into the line instead of propagating into the caller. "src/tmuxp/log.py" = ["BLE001"] [tool.pytest.ini_options] addopts = "--reruns=0 --tb=short --no-header --showlocals --doctest-modules" doctest_optionflags = "ELLIPSIS NORMALIZE_WHITESPACE" testpaths = [ "src/tmuxp", "tests", "docs", ] filterwarnings = [ "ignore:The frontend.Option(Parser)? class.*:DeprecationWarning::", "ignore:.*invalid escape sequence.*:SyntaxWarning:.*aafigure.*:", ] |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |