Skip to content

Commit

Permalink
Bump Github Action
Browse files Browse the repository at this point in the history
* ci: fix bump action

* ci: fix bump

* bump up micro version from workflow

---------

Co-authored-by: mthiboust <mthiboust-noreply@github.com>
  • Loading branch information
mthiboust and mthiboust authored Oct 29, 2023
1 parent f6228df commit 16c1970
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 10 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ on:
required: true
type: choice
options:
- patch
- micro
- minor
- major

permissions:
contents: write

jobs:
bump-version:
Expand Down
35 changes: 26 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
[project]
name = "colormap2d"
version = "0.1.2"
version = "0.1.3"
description = "Colormap for 2D vectors"
authors = [
{name = "Matthieu Thiboust", email = "14574229+mthiboust@users.noreply.github.com"},
{ name = "Matthieu Thiboust", email = "14574229+mthiboust@users.noreply.github.com" },
]
dependencies = [
"numpy>=1.22",
]
requires-python = ">=3.9"
readme = "README.md"
license = {text = "MIT"}

[project.license]
text = "MIT"

[project.urls]
Homepage = "https://github.com/mthiboust/colormap2d"
Expand All @@ -22,22 +24,37 @@ dev = [
"matplotlib>=3.8.0",
"pytest>=7.4.3",
]

[build-system]
requires = ["pdm-backend"]
requires = [
"pdm-backend",
]
build-backend = "pdm.backend"

[tool.ruff]
line-length = 88
extend-include = ["*.ipynb"]
select = ["D", "E", "F", "I001"]
ignore = ["D206"]
extend-include = [
"*.ipynb",
]
select = [
"D",
"E",
"F",
"I001",
]
ignore = [
"D206",
]
ignore-init-module-imports = true
fixable = ["I001", "F401"]
fixable = [
"I001",
"F401",
]

[tool.ruff.isort]
combine-as-imports = true
lines-after-imports = 2
order-by-type = false

[tool.ruff.pydocstyle]
convention = "google"
convention = "google"

0 comments on commit 16c1970

Please sign in to comment.