Update SB3 and config (#167)

This commit is contained in:
Antonin RAFFIN 2023-03-20 12:35:37 +01:00 committed by GitHub
parent 1f9568b2da
commit b5fd6e65ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 16 deletions

View File

@ -1,11 +0,0 @@
[run]
branch = False
omit =
tests/*
setup.py
[report]
exclude_lines =
pragma: no cover
raise NotImplementedError()
if typing.TYPE_CHECKING:

View File

@ -3,7 +3,7 @@
Changelog
==========
Release 1.8.0a9 (WIP)
Release 1.8.0a10 (WIP)
--------------------------
Breaking Changes:

View File

@ -4,7 +4,8 @@ line-length = 127
# Assume Python 3.7
target-version = "py37"
select = ["E", "F", "B", "UP", "C90", "RUF"]
ignore = []
# Ignore explicit stacklevel`
ignore = ["B028"]
[tool.ruff.mccabe]
# Unlike Flake8, ruff default to a complexity level of 10.
@ -62,3 +63,11 @@ filterwarnings = [
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')"
]
[tool.coverage.run]
disable_warnings = ["couldnt-parse"]
branch = false
omit = ["tests/*", "setup.py"]
[tool.coverage.report]
exclude_lines = [ "pragma: no cover", "raise NotImplementedError()", "if typing.TYPE_CHECKING:"]

View File

@ -1 +1 @@
1.8.0a9
1.8.0a10

View File

@ -65,7 +65,7 @@ setup(
packages=[package for package in find_packages() if package.startswith("sb3_contrib")],
package_data={"sb3_contrib": ["py.typed", "version.txt"]},
install_requires=[
"stable_baselines3>=1.8.0a9",
"stable_baselines3>=1.8.0a10",
],
description="Contrib package of Stable Baselines3, experimental code.",
author="Antonin Raffin",
@ -79,7 +79,6 @@ setup(
version=__version__,
python_requires=">=3.7",
# PyPI package information.
# PyPI package information.
project_urls={
"Code": "https://github.com/Stable-Baselines-Team/stable-baselines3-contrib",
"Documentation": "https://sb3-contrib.readthedocs.io/",