Skip to content

Commit

Permalink
[MAINTENANCE] Updated dependencies
Browse files Browse the repository at this point in the history
* Bumped setuptools : 65.5.0 -> 69.1.1
* Bumped black : 23.9 -> 24.2
* Bumped mypy : 1.7 -> 1.8
* Bumped flake8 : 6.1 -> 7.0
* Bumped pytest : 7.4 -> 8.0
* Added pytest-cov 4.1
* Removed coverage 7.3
* Used pytest-cov instead of coverage
* Version Update v0.6.1
  • Loading branch information
sevketcaba committed Feb 26, 2024
1 parent 7cbbca0 commit ced4adb
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 36 deletions.
46 changes: 26 additions & 20 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,53 +1,59 @@
[build-system]
requires = ["setuptools>=65.5.0", "wheel"]
requires = ["setuptools>=69.1.1", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "uglylogger" # Required
version = "0.6.0" # Required
description = "An ugly, slow Logger class for python" # Optional
name = "uglylogger" # Required
version = "0.6.1" # Required
description = "An ugly, slow Logger class for python" # Optional
readme = "README.md" # Optional
requires-python = ">=3.10"
license = {file = "LICENSE"}
keywords = ["python", "python3", "log", "logger", "oop","pretty", "ugly"] # Optional
license = { file = "LICENSE" }
keywords = [
"python",
"python3",
"log",
"logger",
"oop",
"pretty",
"ugly",
] # Optional
authors = [
{name = "Sevket Sureyya Caba", email = "[email protected]" } # Optional
{ name = "Sevket Sureyya Caba", email = "[email protected]" }, # Optional
]
maintainers = [
{name = "Sevket Sureyya Caba", email = "[email protected]" } # Optional
{ name = "Sevket Sureyya Caba", email = "[email protected]" }, # Optional
]
classifiers = [ # Optional
classifiers = [ # Optional
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
]
dependencies = [ # Optional
"parameterized"
"parameterized",
]
[project.optional-dependencies] # Optional
dev = ["black", "flake8", "mypy"]
test = ["pytest", "coverage"]
dev = ["black", "flake8", "flake8-docstrings", "mypy"]
test = ["pytest", "pytest-cov"]

[project.urls] # Optional
[project.urls] # Optional
"Homepage" = "https://github.com/sevketcaba/uglylogger"
"Bug Reports" = "https://github.com/sevketcaba/uglylogger/issues"
# "Funding" = "https://donate.pypi.org"
# "Say Thanks!" = "http://saythanks.io/to/example"
"Source" = "https://github.com/sevketcaba/uglylogger/"

[project.scripts] # Optional
[project.scripts] # Optional

[tool.setuptools]

[tool.black]
line-length = 79

[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]
pythonpath = "src"
addopts = ["--import-mode=importlib"]
pythonpath = "src"
14 changes: 6 additions & 8 deletions tox-ci.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,17 @@ isolated_env=false

[testenv]
deps =
black>=23.9
mypy>=1.7
flake8>=6.1
black>=24.2
mypy>=1.8
flake8>=7.0
flake8-docstrings>=1.7
pytest>=7.4
coverage>=7.3
pytest>=8.0
pytest-cov>=4.1
commands =
black {posargs:. --check}
flake8 {posargs:.}
mypy {posargs:src tests}
coverage run -m pytest {posargs:tests}
coverage report
coverage xml
pytest {posargs:--cov=src tests --cov-report xml --cov-report term}

[flake8]
exclude = .tox,*.egg,build,data,venv
Expand Down
14 changes: 6 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,17 @@ isolated_env=false

[testenv]
deps =
black>=23.9
mypy>=1.7
flake8>=6.1
black>=24.2
mypy>=1.8
flake8>=7.0
flake8-docstrings>=1.7
pytest>=7.4
coverage>=7.3
pytest>=8.0
pytest-cov>=4.1
commands =
black {posargs:.}
flake8 {posargs:.}
mypy {posargs:src tests}
coverage run -m pytest {posargs:tests}
coverage report
coverage html
pytest {posargs:--cov=src tests --cov-report html --cov-report term}

[flake8]
exclude = .tox,*.egg,build,data,venv
Expand Down

0 comments on commit ced4adb

Please sign in to comment.