Skip to content

Commit

Permalink
[Python] 3.10 update
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume De Saint Martin committed May 2, 2023
1 parent f3b944f commit f14c36b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,13 @@ jobs:
tests:
needs: lint
uses: Drakkar-Software/.github/.github/workflows/python3_tests_workflow.yml@master
with:
use_cython: false
secrets:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}

publish:
needs: tests
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: Drakkar-Software/.github/.github/workflows/python3_wheel_workflow.yml@master
uses: Drakkar-Software/.github/.github/workflows/python3_sdist_workflow.yml@master
secrets:
PYPI_OFFICIAL_UPLOAD_URL: ${{ secrets.PYPI_OFFICIAL_UPLOAD_URL }}
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

PACKAGES = find_packages(exclude=["tests"])

packages_list = []

# long description from README file
with open('README.md', encoding='utf-8') as f:
Expand All @@ -36,7 +35,7 @@
url='https://github.com/Drakkar-Software/trading-backend',
license='LGPL-3.0',
author='Drakkar-Software',
author_email='[email protected]',
author_email='[email protected]',
description='Trading tools',
packages=PACKAGES,
include_package_data=True,
Expand Down
4 changes: 2 additions & 2 deletions standard.rc
Original file line number Diff line number Diff line change
Expand Up @@ -506,5 +506,5 @@ min-public-methods=2

# Exceptions that will emit a warning when being caught. Defaults to
# "BaseException, Exception".
overgeneral-exceptions=BaseException,
Exception
overgeneral-exceptions=builtins.BaseException,
builtins.Exception

0 comments on commit f14c36b

Please sign in to comment.