Skip to content

[pre-commit.ci] pre-commit autoupdate #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
@@ -15,7 +15,7 @@ repos:
# args: [--branch, main]
- id: trailing-whitespace
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.9.0
rev: v1.10.0
hooks:
- id: python-check-blanket-noqa
- id: python-check-mock-methods
@@ -24,24 +24,24 @@ repos:
- id: python-use-type-annotations
- id: text-unicode-replacement-char
- repo: https://github.com/asottile/pyupgrade
rev: v2.32.0
rev: v3.19.1
hooks:
- id: pyupgrade
args: [--py37-plus]
- repo: https://github.com/asottile/reorder_python_imports
rev: v3.0.1
- repo: https://github.com/asottile/reorder-python-imports
rev: v3.14.0
hooks:
- id: reorder-python-imports
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v1.20.0
rev: v2.8.0
hooks:
- id: setup-cfg-fmt
- repo: https://github.com/psf/black
rev: 22.3.0
rev: 25.1.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
rev: 7.2.0
hooks:
- id: flake8
additional_dependencies: [
@@ -61,7 +61,7 @@ repos:
Pygments,
]
- repo: https://github.com/guilatrova/tryceratops
rev: v1.0.1
rev: v2.4.1
hooks:
- id: tryceratops
# - repo: https://github.com/econchick/interrogate
@@ -70,12 +70,12 @@ repos:
# - id: interrogate
# args: [-v, --fail-under=40]
- repo: https://github.com/codespell-project/codespell
rev: v2.1.0
rev: v2.4.1
hooks:
- id: codespell
args: [--skip, "*.(html|ipynb)"]
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.14
rev: 0.7.22
hooks:
- id: mdformat
additional_dependencies: [
@@ -85,7 +85,7 @@ repos:
args: [--wrap, "88"]
files: (README.md)
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.14
rev: 0.7.22
hooks:
- id: mdformat
additional_dependencies: [
9 changes: 2 additions & 7 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -4,24 +4,19 @@ long_description = file: README.md
long_description_content_type = text/markdown
url = hhttps://github.com/opensourceeconomics/scipy-2022-dev
license = MIT
license_file = LICENSE
license_files = LICENSE
platforms = unix, linux, osx, cygwin, win32
classifiers =
Intended Audience :: Science/Research
License :: OSI Approved :: MIT License
Operating System :: MacOS :: MacOS X
Operating System :: Microsoft :: Windows
Operating System :: POSIX
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10

[options]
packages = find:
python_requires = >=3.7
python_requires = >=3.9
include_package_data = True
package_dir =
=src
1 change: 1 addition & 0 deletions src/scipy_dev/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""This module contains the main namespace of fte."""

# Import the version from _version.py which is dynamically created by setuptools-scm
# when the project is installed with ``pip install -e .``. Do not put it into version
# control!
1 change: 1 addition & 0 deletions src/scipy_dev/config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""This module contains the general configuration of the project."""

from pathlib import Path


6 changes: 3 additions & 3 deletions src/scipy_dev/presentation/main.md
Original file line number Diff line number Diff line change
@@ -102,7 +102,7 @@ University of Bonn
### Preview of practice session

- Translate a criterion function from math to code

- Use `scipy.optimize` to minimize the criterion function

---
@@ -920,7 +920,7 @@ em.convergence_plot(

<!-- _class: lead -->
# Bounds and Constraints
---
---

### Preview of practice session

@@ -1621,7 +1621,7 @@ section.split {
<!-- _class: lead -->
# JAX and JAXopt

---
---
### Preview of practice session(s)

- Solve an optimization problem using JAX gradients
1 change: 1 addition & 0 deletions src/scipy_dev/source_repo/test_installation.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test that the environment is correctly installed."""

from distutils.spawn import find_executable


Loading