Skip to content

Commit

Permalink
Merge pull request #6 from systemallica/dev
Browse files Browse the repository at this point in the history
Update project tooling + dependencies
  • Loading branch information
systemallica authored May 5, 2024
2 parents 6a4fd33 + 76bdd80 commit ce8f28d
Show file tree
Hide file tree
Showing 14 changed files with 205 additions and 928 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: pre-commit

on:
pull_request:
push:
branches: [main]

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: pre-commit/[email protected]
38 changes: 0 additions & 38 deletions .github/workflows/python-app.yml

This file was deleted.

14 changes: 5 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
repos:
- repo: https://github.com/timothycrosley/isort
rev: 5.6.4
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.3
hooks:
- id: isort
args: ["--profile", "black"]
- repo: https://github.com/ambv/black
rev: 20.8b1
hooks:
- id: black
language_version: python3
- id: ruff
args: [--fix]
- id: ruff-format
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repo_name: 'systemallica/morfist'
repo_url: 'https://github.com/systemallica/morfist'

# Copyright
copyright: 'Copyright © 2020 Andrés Reverón Molina'
copyright: 'Copyright © 2024 Andrés Reverón Molina'

# Configuration
theme:
Expand Down
2 changes: 0 additions & 2 deletions morfist/algo/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
from morfist.algo.evaluation import cross_validation
from morfist.algo.histogram import numba_histogram
3 changes: 0 additions & 3 deletions morfist/core/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
from morfist.core.MixedRandomForest import MixedRandomForest
from morfist.core.MixedRandomTree import MixedRandomTree
from morfist.core.MixedSplitter import MixedSplitter
1 change: 0 additions & 1 deletion morfist/legacy/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
from morfist.legacy import *
Loading

0 comments on commit ce8f28d

Please sign in to comment.