Skip to content

Commit

Permalink
chore: upgrade build and ci tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-eschle committed Nov 9, 2024
1 parent 99f9d94 commit 73e5c7c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 48 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,6 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Get pip cache dir
id: pip-cache
run: |
echo "::set-output name=dir::$(pip cache dir)"
- name: pip cache
uses: actions/[email protected]
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.cfg') }}-pip-${{ hashFiles('**/setup.py') }}-pip-${{ hashFiles('**/pyproject.toml') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install package
run: |
pip install uv
Expand Down
20 changes: 10 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ repos:
- id: requirements-txt-fixer
- id: debug-statements
- id: end-of-file-fixer
- repo: https://github.com/mgedmin/check-manifest
rev: "0.50"
hooks:
- id: check-manifest
args:
- --update
- --no-build-isolation
additional_dependencies:
- hatchling
- hatch-vcs
# - repo: https://github.com/mgedmin/check-manifest
# rev: "0.50"
# hooks:
# - id: check-manifest
# args:
# - --update
# - --no-build-isolation
# additional_dependencies:
# - hatchling
# - hatch-vcs

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.12.0
Expand Down
24 changes: 0 additions & 24 deletions MANIFEST.in

This file was deleted.

5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ dependencies = [
"asdf",
"numpy",
"pandas",
"scipy",
# "scipy",
"tqdm",
"uhi",
]
Expand Down Expand Up @@ -68,7 +68,8 @@ test = [
"pytest",
"pytest-cov",
"pytest-runner",
'hepstats[zfit];python_version<"3.13"',
"zfit>=0.20.0;python_version<'3.13'",
# 'hepstats[zfit];python_version<"3.13"',
]
zfit = ["zfit>=0.20.0"]

Expand Down

0 comments on commit 73e5c7c

Please sign in to comment.