-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
284 additions
and
289 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
repos: | ||
- repo: https://github.com/charliermarsh/ruff-pre-commit | ||
rev: "v0.0.230" | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.1.1 | ||
hooks: | ||
- id: ruff | ||
|
||
- repo: https://github.com/psf/black | ||
rev: "22.8.0" | ||
rev: "23.9.1" | ||
hooks: | ||
- id: black | ||
- id: black |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
[tool.poetry] | ||
name = "asciinema_scene" | ||
version = "0.7.1" | ||
version = "0.8.0" | ||
description = "Toolbox to edit asciinema screencasts (sciine)." | ||
authors = ["Jerome Dumonteil <[email protected]>"] | ||
repository = "https://github.com/jdum/asciinema-scene" | ||
documentation = "https://jdum.github.io/asciinema-scene/" | ||
readme = "README.md" | ||
license = "MIT" | ||
classifiers = [ | ||
"Development Status :: 3 - Alpha", | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Console", | ||
"Intended Audience :: Developers", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
] | ||
packages = [ | ||
{include = "asciinema_scene"} | ||
|
@@ -23,24 +24,24 @@ sciine = "asciinema_scene.sciine:cli" | |
|
||
[tool.poetry.dependencies] | ||
python = ">=3.10,<4.0" | ||
click = "^8.1.3" | ||
click = "^8" | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
urllib3 = ">1.22,<2" | ||
pytest = "^7.2.0" | ||
pytest-cov = "^4.0.0" | ||
deptry = "^0.6.4" | ||
mypy = "^0.981" | ||
pytest = "*" | ||
pytest-cov = "*" | ||
deptry = "*" | ||
mypy = "*" | ||
pre-commit = "^2.20.0" | ||
tox = "^3.25.1" | ||
tox = "*" | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.black] | ||
line-length = 88 | ||
target-version = ['py310'] | ||
target-version = ['py312'] | ||
|
||
[tool.mypy] | ||
files = ["asciinema_scene"] | ||
|
@@ -53,9 +54,9 @@ warn_unused_ignores = "True" | |
show_error_codes = "True" | ||
|
||
[tool.ruff] | ||
target-version = "py310" | ||
target-version = "py312" | ||
line-length = 88 | ||
fix = true | ||
fix = false | ||
select = [ | ||
# flake8-2020 | ||
"YTT", | ||
|
@@ -96,7 +97,7 @@ ignore = [ | |
#Use specific rule codes when ignoring type issues | ||
"PGH003", | ||
#check for execution of untrusted input | ||
# "S603", | ||
"S603", | ||
] | ||
|
||
[tool.ruff.per-file-ignores] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tox] | ||
skipsdist = true | ||
envlist = py310, py311 | ||
envlist = py310, py311, py312 | ||
|
||
[gh-actions] | ||
python = | ||
|