f7d3b10288
bashlex (GPL-3+) powers upcoming structural command analysis: parsing pipelines into segments with word offsets so a typo anywhere in a command can be fixed as confidently as one at the start. Because the license is incompatible with distributing the MIT-licensed app, the dependency is import-guarded: thefuck/shell_ast.py exposes AST_AVAILABLE, which is False when bashlex is missing or under python 2 (the py2.7 CI requirements.txt deliberately omits it), so all new behavior must gate on it and the fork stays personal-use only. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
35 lines
649 B
TOML
35 lines
649 B
TOML
[project]
|
|
name = "thefuck"
|
|
version = "3.32"
|
|
description = "Magnificent app which corrects your previous console command"
|
|
license = {text = "MIT"}
|
|
requires-python = ">=3.7"
|
|
dependencies = [
|
|
"psutil",
|
|
"colorama",
|
|
"six",
|
|
"decorator",
|
|
"pyte",
|
|
"bashlex==0.18",
|
|
]
|
|
|
|
[project.scripts]
|
|
thefuck = "thefuck.entrypoints.main:main"
|
|
fuck = "thefuck.entrypoints.not_configured:main"
|
|
|
|
[build-system]
|
|
requires = ["setuptools<71", "fastentrypoints"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"flake8",
|
|
"pytest<9",
|
|
"mock",
|
|
"pytest-mock",
|
|
"pexpect",
|
|
"pytest-benchmark",
|
|
"fastentrypoints>=0.12",
|
|
"setuptools<71",
|
|
]
|