Skip to content

Commit

Permalink
force beancount < 3 and enable tests also on pull_request
Browse files Browse the repository at this point in the history
  • Loading branch information
tarioch committed Aug 14, 2024
1 parent fa72974 commit 5126775
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: ci
on:
push:
pull_request:
jobs:
test:
name: Run tests and build distribution
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
exclude: '^docs/conf.py'

repos:
- repo: git://github.com/pre-commit/pre-commit-hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: trailing-whitespace
Expand All @@ -18,7 +18,7 @@ repos:
args: ['--fix=auto']

- repo: https://github.com/pycqa/isort
rev: 5.9.3
rev: 5.13.2
hooks:
- id: isort

Expand All @@ -28,7 +28,7 @@ repos:
- id: black
language_version: python3

- repo: https://gitlab.com/pycqa/flake8
- repo: https://github.com/PyCQA/flake8
rev: 3.9.2
hooks:
- id: flake8
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ packages = find:
setup_requires =
setuptools_scm
install_requires =
beancount>=2.0.0
beancount>=2.0.0,<3.0.0
scikit-learn>=0.19
numpy>=1.8.2
scipy>=0.13.3
Expand Down

0 comments on commit 5126775

Please sign in to comment.