audfactory
Advanced tools
| name: Flake8 | ||
| on: | ||
| push: | ||
| branches: [ main ] | ||
| pull_request: | ||
| branches: [ main ] | ||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| - name: Set up Python 3.8 | ||
| uses: actions/setup-python@v4 | ||
| with: | ||
| python-version: '3.8' | ||
| - name: Install pre-commit hooks | ||
| run: | | ||
| pip install pre-commit | ||
| pre-commit install --install-hooks | ||
| - name: Code style check via pre-commit | ||
| run: | | ||
| pre-commit run --all-files |
| # Configuration of checks run by pre-commit | ||
| # | ||
| # The tests are executed in the CI pipeline, | ||
| # see CONTRIBUTING.rst for further instructions. | ||
| # You can also run the checks directly at the terminal, e.g. | ||
| # | ||
| # $ pre-commit install | ||
| # $ pre-commit run --all-files | ||
| # | ||
| repos: | ||
| - repo: https://github.com/pycqa/flake8 | ||
| rev: '5.0.4' | ||
| hooks: | ||
| - id: flake8 |
@@ -72,3 +72,3 @@ name: Publish | ||
| tag_name: ${{ github.ref }} | ||
| release_name: Release ${{ github.ref_name }} | ||
| name: Release ${{ github.ref_name }} | ||
| body: ${{ steps.changelog.outputs.body }} |
| Metadata-Version: 1.2 | ||
| Name: audfactory | ||
| Version: 1.0.9 | ||
| Version: 1.0.10 | ||
| Summary: Communicate with Artifactory | ||
@@ -56,2 +56,9 @@ Home-page: https://github.com/audeering/audfactory/ | ||
| Version 1.0.10 (2023-02-13) | ||
| --------------------------- | ||
| * Fixed: support for Python 3.10 | ||
| by requiring ``dohq-artifactory>=0.8.1`` | ||
| Version 1.0.9 (2022-12-23) | ||
@@ -58,0 +65,0 @@ -------------------------- |
| audeer>=1.11.0 | ||
| dohq-artifactory>=0.7.377 | ||
| dohq-artifactory>=0.8.1 |
| .gitignore | ||
| .pre-commit-config.yaml | ||
| CHANGELOG.rst | ||
@@ -9,2 +10,3 @@ CONTRIBUTING.rst | ||
| setup.py | ||
| .github/workflows/flake8.yml | ||
| .github/workflows/publish.yml | ||
@@ -11,0 +13,0 @@ .github/workflows/test.yml |
| import errno | ||
| import json | ||
| import os | ||
@@ -4,0 +3,0 @@ import typing |
+7
-0
@@ -10,2 +10,9 @@ Changelog | ||
| Version 1.0.10 (2023-02-13) | ||
| --------------------------- | ||
| * Fixed: support for Python 3.10 | ||
| by requiring ``dohq-artifactory>=0.8.1`` | ||
| Version 1.0.9 (2022-12-23) | ||
@@ -12,0 +19,0 @@ -------------------------- |
+33
-0
@@ -33,2 +33,35 @@ Contributing | ||
| Coding Convention | ||
| ----------------- | ||
| We follow the PEP8_ convention for Python code | ||
| and check for correct syntax with flake8_. | ||
| Exceptions are defined under the ``[flake8]`` section | ||
| in :file:`setup.cfg`. | ||
| The checks are executed in the CI using `pre-commit`_. | ||
| You can enable those checks locally by executing:: | ||
| pip install pre-commit # consider system wide installation | ||
| pre-commit install | ||
| pre-commit run --all-files | ||
| Afterwards flake8_ is executed | ||
| every time you create a commit. | ||
| You can also install flake8_ | ||
| and call it directly:: | ||
| pip install flake8 # consider system wide installation | ||
| flake8 | ||
| It can be restricted to specific folders:: | ||
| flake8 audfoo/ tests/ | ||
| .. _PEP8: http://www.python.org/dev/peps/pep-0008/ | ||
| .. _flake8: https://flake8.pycqa.org/en/latest/index.html | ||
| .. _pre-commit: https://pre-commit.com | ||
| Building the Documentation | ||
@@ -35,0 +68,0 @@ -------------------------- |
+0
-1
@@ -5,3 +5,2 @@ import configparser | ||
| import shutil | ||
| import sys | ||
@@ -8,0 +7,0 @@ import audeer |
+8
-1
| Metadata-Version: 1.2 | ||
| Name: audfactory | ||
| Version: 1.0.9 | ||
| Version: 1.0.10 | ||
| Summary: Communicate with Artifactory | ||
@@ -56,2 +56,9 @@ Home-page: https://github.com/audeering/audfactory/ | ||
| Version 1.0.10 (2023-02-13) | ||
| --------------------------- | ||
| * Fixed: support for Python 3.10 | ||
| by requiring ``dohq-artifactory>=0.8.1`` | ||
| Version 1.0.9 (2022-12-23) | ||
@@ -58,0 +65,0 @@ -------------------------- |
+9
-6
@@ -31,4 +31,4 @@ [metadata] | ||
| install_requires = | ||
| audeer>=1.11.0 | ||
| dohq-artifactory>=0.7.377 | ||
| audeer >=1.11.0 | ||
| dohq-artifactory >=0.8.1 | ||
| setup_requires = | ||
@@ -43,3 +43,2 @@ setuptools_scm | ||
| --doctest-plus | ||
| --flake8 | ||
| --cov-report xml | ||
@@ -49,5 +48,9 @@ xfail_strict = true | ||
| [flake8] | ||
| ignore = | ||
| W503 # math, https://github.com/PyCQA/pycodestyle/issues/513 | ||
| __init__.py F401 # ignore unused imports | ||
| exclude = | ||
| .eggs, | ||
| build, | ||
| extend-ignore = | ||
| W503, | ||
| per-file-ignores = | ||
| __init__.py: F401, | ||
@@ -54,0 +57,0 @@ [egg_info] |
@@ -1,3 +0,1 @@ | ||
| # To avoid https://github.com/tholo/pytest-flake8/issues/87 | ||
| flake8 <5.0.0 | ||
| audeer>=1.12.0 | ||
@@ -7,3 +5,2 @@ pandas | ||
| pytest-cov | ||
| pytest-flake8 | ||
| pytest-doctestplus |
@@ -1,4 +0,2 @@ | ||
| import copy | ||
| import os | ||
| import uuid | ||
@@ -5,0 +3,0 @@ import pytest |
| import csv | ||
| import os | ||
| import uuid | ||
@@ -5,0 +4,0 @@ import pandas as pd |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
110499
1.92%38
5.56%1851
-0.27%