Skip to content

Commit

Permalink
Merge pull request #1 from markotoplak/lint
Browse files Browse the repository at this point in the history
Lint, ensure tests passing
  • Loading branch information
markotoplak authored Apr 4, 2024
2 parents 1fc8f6c + 3c139e1 commit 26e4300
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 9 deletions.
18 changes: 18 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[run]
source =
orangecontrib/snom
omit =
*tests*

[report]
exclude_lines =
pragma: no cover
def __repr__

# Don't complain if tests don't hit defensive assertion code:
raise AssertionError
raise NotImplementedError

# Don't complain if non-runnable code isn't run:
if 0:
if __name__ == .__main__.:
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ jobs:
secrets:
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
permissions:
id-token: write
id-token: write
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ jobs:
normal:
name: Usual
uses: biolab/orange-ci-cd/.github/workflows/test-addons.yml@master

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Orange toolbox for SNOM
=======================

This is an add-on for [Orange3](http://orange.biolab.si) for SNOM.
This is an add-on for [Orange3](http://orange.biolab.si) for SNOM.
4 changes: 1 addition & 3 deletions orangecontrib/snom/widgets/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
# Correct DATA_FILES entry is needed in setup.py and documentation has to be built
# before the wheel is created.
(
'{}/help/orange-snom/index.html'.format(
sysconfig.get_path('data')
),
'{}/help/orange-snom/index.html'.format(sysconfig.get_path('data')),
None,
),
# Online documentation url, used when the local documentation is not available.
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ setup_requires =
setuptools>=42.0
setuptools-scm
install_requires =
Orange3>=3.36.0
Orange3>=3.34.0
orange-spectroscopy>=0.6.11


Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ setenv =
deps =
{env:PYQT_PYPI_NAME:PyQt5}=={env:PYQT_PYPI_VERSION:5.15.*}
{env:WEBENGINE_PYPI_NAME:PyQtWebEngine}=={env:WEBENGINE_PYPI_VERSION:5.15.*}
oldest: scikit-learn==1.1.1
oldest: orange3==3.34.0
# Use newer canvas-core and widget-base to avoid segfaults on windows
oldest: orange-canvas-core==0.1.28
oldest: orange-widget-base==4.19.0
oldest: pandas==1.3
oldest: orange-spectroscopy==0.6.11
latest: git+https://github.com/biolab/orange3.git#egg=orange3
latest: git+https://github.com/biolab/orange-canvas-core.git#egg=orange-canvas-core
latest: git+https://github.com/biolab/orange-widget-base.git#egg=orange-widget-base
Expand Down

0 comments on commit 26e4300

Please sign in to comment.