Browse Source

chore: cleaned the imports

pull/608/head
Parodi, Eugenio 🌶 2 weeks ago
parent
commit
9e37fc3ea8
  1. 2
      .github/workflows/testing.yml
  2. 87
      apps/ttkode/pyproject.toml
  3. 2
      pyproject.toml

2
.github/workflows/testing.yml

@ -61,7 +61,7 @@ jobs:
shell: bash shell: bash
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
python -m pip install -e 'libs/pyTermTk[test]' python -m pip install -e '.[test]'
- name: Lint with flake8 - name: Lint with flake8
run: | run: |

87
apps/ttkode/pyproject.toml

@ -1,51 +1,58 @@
[build-system] [build-system]
requires = ["setuptools>=45", "wheel"] requires = ["setuptools>=45", "wheel"]
build-backend = "setuptools.build_meta" build-backend = "setuptools.build_meta"
[project] [project]
name = "ttkode" name = "ttkode"
dynamic = ["version"] dynamic = ["version"]
readme = {file = "README.md", content-type = "text/markdown"} readme = {file = "README.md", content-type = "text/markdown"}
authors = [ authors = [
{name = "Eugenio Parodi", email = "ceccopierangiolieugenio@googlemail.com"}, {name = "Eugenio Parodi", email = "ceccopierangiolieugenio@googlemail.com"},
] ]
description = "Terminal ToolKit Studio Code editor" description = "Terminal ToolKit Studio Code editor"
requires-python = ">=3.9" requires-python = ">=3.9"
license = {text = "MIT"} license = {text = "MIT"}
classifiers = [ classifiers = [
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License", "License :: OSI Approved :: MIT License",
"Operating System :: OS Independent", "Operating System :: OS Independent",
"Development Status :: 3 - Alpha", "Development Status :: 3 - Alpha",
"Environment :: Console", "Environment :: Console",
"Intended Audience :: Developers", "Intended Audience :: Developers",
"Intended Audience :: Information Technology", "Intended Audience :: Information Technology",
"Topic :: Terminals", "Topic :: Terminals",
"Topic :: Software Development :: User Interfaces", "Topic :: Software Development :: User Interfaces",
] ]
dependencies = [ dependencies = [
'pyTermTk>=0.48.1-a0', 'pyTermTk>=0.48.1-a0',
'pytest', 'pytest',
'appdirs', 'appdirs',
'copykitten', 'copykitten',
'pygments' 'pygments'
] ]
[project.optional-dependencies]
test = [
"pytest>=8.3.4",
"mypy>=1.15.0"
]
[project.urls] [project.urls]
Homepage = "https://github.com/ceccopierangiolieugenio/pyTermTk/tree/main/apps/ttkode" Homepage = "https://github.com/ceccopierangiolieugenio/pyTermTk/tree/main/apps/ttkode"
Repository = "https://github.com/ceccopierangiolieugenio/pyTermTk.git" Repository = "https://github.com/ceccopierangiolieugenio/pyTermTk.git"
Issues = "https://github.com/ceccopierangiolieugenio/pyTermTk/issues" Issues = "https://github.com/ceccopierangiolieugenio/pyTermTk/issues"
Changelog = "https://github.com/ceccopierangiolieugenio/pyTermTk/blob/main/apps/ttkode/CHANGELOG.md" Changelog = "https://github.com/ceccopierangiolieugenio/pyTermTk/blob/main/apps/ttkode/CHANGELOG.md"
[project.scripts] [project.scripts]
ttkode = "ttkode.__main__:main" ttkode = "ttkode.__main__:main"
[tool.setuptools] [tool.setuptools]
packages = [ packages = [
"ttkode", "ttkode.app", "ttkode", "ttkode.app",
"ttkode.plugins", "ttkode.plugins",
"ttkode.plugins._010", "ttkode.plugins._010",
] "ttkode.plugins._030",
]
[tool.setuptools.dynamic] [tool.setuptools.dynamic]
version = {attr = "ttkode.__version__"} version = {attr = "ttkode.__version__"}

2
pyproject.toml

@ -29,6 +29,8 @@
[project.optional-dependencies] [project.optional-dependencies]
test = [ test = [
"pyTermTk[test]",
"ttkode[test]",
"pytest>=8.3.4", "pytest>=8.3.4",
"flake8>=7.2.0", "flake8>=7.2.0",
"mypy>=1.15.0" "mypy>=1.15.0"

Loading…
Cancel
Save