-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update requirements, python version and dependencies (#118)
* update requirements, python version, etc. * small toml file fix * add todos to tests, fix pre-commit * fix test by removing part that is deprecated/changed * fix tests p2 * prep new version - fix tests - split up rest of work for new version later * add weekly cronjob
- Loading branch information
Reinier Koops
authored
Aug 17, 2024
1 parent
ef5c1c7
commit 7db688c
Showing
28 changed files
with
188 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "pip" # See documentation for possible values | ||
directory: "/" # pyproject.toml | ||
schedule: | ||
interval: "weekly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: Cron Test Dependencies | ||
|
||
# Controls when the action will run. | ||
# Every sunday at 4:05 | ||
# See https://crontab.guru/#5 4 * * 0 | ||
on: | ||
schedule: | ||
- cron: "5 4 * * 0" | ||
|
||
jobs: | ||
run: | ||
name: Run unit tests | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
build: [macos, ubuntu, windows] | ||
include: | ||
- build: macos | ||
os: macos-latest | ||
- build: ubuntu | ||
os: ubuntu-latest | ||
- build: windows | ||
os: windows-latest | ||
python-version: [3.9, "3.10", "3.11", "3.12"] | ||
steps: | ||
- uses: actions/checkout@master | ||
|
||
- name: Get latest CMake and Ninja | ||
uses: lukka/get-cmake@latest | ||
with: | ||
cmakeVersion: latest | ||
ninjaVersion: latest | ||
|
||
- name: Install LIBOMP on Macos runners | ||
if: runner.os == 'macOS' | ||
run: | | ||
brew install libomp | ||
- name: Setup Python | ||
uses: actions/setup-python@master | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install Python dependencies | ||
run: | | ||
pip3 install --upgrade setuptools pip | ||
pip3 install ".[all]" | ||
- name: Run linters | ||
run: | | ||
pre-commit install | ||
pre-commit run --all-files | ||
- name: Run (unit) tests | ||
run: | | ||
pytest | ||
pyflakes skorecard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from .skorecard import Skorecard | ||
|
||
__all__ = ["Skorecard"] | ||
__version__ = "1.6.8" | ||
__version__ = "1.6.9" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
"""Import required transformers.""" | ||
|
||
|
||
from .bucketers import ( | ||
OptimalBucketer, | ||
EqualWidthBucketer, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""Import required Metric.""" | ||
|
||
from .metrics import IV_scorer | ||
|
||
|
||
|
Oops, something went wrong.