Skip to content

Commit

Permalink
Require PyDSDL v1.16 at least to ensure support for *.dsdl file exten…
Browse files Browse the repository at this point in the history
…sion (OpenCyphal#258)

* Require PyDSDL v1.16 at least to ensure support for the *.dsdl file extension

* fixing rstcheck

Co-authored-by: Scott Dixon <dixonsco@amazon.com>
  • Loading branch information
pavel-kirienko and thirtytwobits authored Jun 16, 2022
1 parent 1dc9cfb commit 498dc38
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ package_dir=
=src
packages=find:
install_requires=
pydsdl ~= 1.15
pydsdl ~= 1.16
pyyaml
importlib-resources

Expand Down
2 changes: 1 addition & 1 deletion src/nunavut/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
.. autodata:: __version__
"""

__version__ = "1.8.2" #: The version number used in the release of nunavut to pypi.
__version__ = "1.8.3" #: The version number used in the release of nunavut to pypi.


__license__ = "MIT"
12 changes: 9 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ deps =
autopep8
rope
isort
rstcheck
rstcheck[sphinx] >= 6.0.0

# +---------------------------------------------------------------------------+
# | CONFIGURATION
Expand Down Expand Up @@ -198,10 +198,10 @@ commands =
[testenv:lint]
basepython = python3.9
deps =
{[dev]deps}
black
flake8
doc8
rstcheck
Pygments
mypy
lxml
Expand All @@ -213,7 +213,13 @@ commands =
flake8 --benchmark --tee --output-file={envtmpdir}/flake8.txt --filename=*.py --exclude=**/jinja2/*,**/markupsafe/* src
black --check --line-length 120 --force-exclude '(/jinja2/|/markupsafe\/)' src
doc8 {toxinidir}/docs
rstcheck --ignore-directives D001 --ignore-directives autofunction,automodule,argparse --ignore-roles mod,func,class -r {toxinidir}
rstcheck --ignore-directives D001 \
--ignore-directives autofunction,automodule,argparse \
-r \
{toxinidir}/docs \
{toxinidir}/CONTRIBUTING.rst \
{toxinidir}/README.rst \
{toxinidir}/LICENSE.rst
mypy -m nunavut \
-m nunavut.jinja \
-p nunavut.lang \
Expand Down

0 comments on commit 498dc38

Please sign in to comment.