Skip to content

Commit

Permalink
Merge pull request #27 from jsconan/release-0.8.1
Browse files Browse the repository at this point in the history
Release 0.8.1
  • Loading branch information
jsconan authored Oct 3, 2023
2 parents 0e7f31c + f735154 commit 90144ea
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 2 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.8.1] - 2023-10-03

### Added

- Script for running the unit tests and presenting the coverage.
- Script for applying the linter.
- Script for applying the formatting.

### Fixed

- Correct the dependencies declaration.

## [0.8.0] - 2023-09-17

### Changed
Expand Down
2 changes: 2 additions & 0 deletions format.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
black toolbox
2 changes: 2 additions & 0 deletions lint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
pylint toolbox
18 changes: 16 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
[build-system]
requires = ["setuptools>=61.0", "requests>=2.31.0"]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "py-toolbox"
version = "0.8.0"
version = "0.8.1"
authors = [{ name = "Jean-Sébastien CONAN", email = "[email protected]" }]
description = "A set of utilities for Python projects"
readme = "README.md"
requires-python = ">=3.7"
dependencies = ["requests>=2.31.0"]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
Expand All @@ -18,3 +19,16 @@ classifiers = [
[project.urls]
"Homepage" = "https://github.com/jsconan/py-toolbox"
"Bug Tracker" = "https://github.com/jsconan/py-toolbox/issues"

[project.optional-dependencies]
linting = ['pylint==2.17.5']
formatting = ['black==23.9.1']
dev = ["pylint==2.17.5"]
test = ["coverage==7.3.1"]

[tool.pylint]
max-line-length = 100
disable = [
"R0903", # (too-few-public-methods)
"R0913", # (too-many-arguments)
]
4 changes: 4 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
astroid==2.15.6
black==23.9.1
certifi==2023.7.22
charset-normalizer==3.2.0
click==8.1.7
Expand All @@ -9,6 +10,9 @@ isort==5.12.0
lazy-object-proxy==1.9.0
lazydocs==0.4.8
mccabe==0.7.0
mypy-extensions==1.0.0
packaging==23.2
pathspec==0.11.2
platformdirs==3.10.0
pydocstyle==6.3.0
pylint==2.17.5
Expand Down
2 changes: 2 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
coverage run -m unittest && coverage report -m

0 comments on commit 90144ea

Please sign in to comment.