Skip to content
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

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

Merged
merged 2 commits into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
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
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ repos:
- id: debug-statements
- id: requirements-txt-fixer
- repo: https://github.com/asottile/pyupgrade
rev: 'v3.15.0'
rev: 'v3.15.2'
hooks:
- id: pyupgrade
args:
Expand All @@ -28,17 +28,17 @@ repos:
args:
- --profile=black
- repo: https://github.com/psf/black
rev: '23.12.1'
rev: '24.3.0'
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: '6.1.0'
rev: '7.0.0'
hooks:
- id: flake8
args:
- --max-line-length=100
- repo: https://github.com/nbQA-dev/nbQA
rev: 1.7.1
rev: 1.8.5
hooks:
- id: nbqa-pyupgrade
args:
Expand All @@ -51,7 +51,7 @@ repos:
args:
- --nbqa-mutate
- repo: https://github.com/kynan/nbstripout
rev: 0.6.1
rev: 0.7.1
hooks:
- id: nbstripout
args:
Expand Down
6 changes: 3 additions & 3 deletions notebooks/signac_107_Integration_with_Sacred.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "alert-prague",
"id": "0",
"metadata": {},
"source": [
"# 1.7 Integration with Sacred\n",
Expand All @@ -16,7 +16,7 @@
},
{
"cell_type": "markdown",
"id": "final-virus",
"id": "1",
"metadata": {},
"source": [
"\n",
Expand All @@ -39,7 +39,7 @@
},
{
"cell_type": "markdown",
"id": "registered-margin",
"id": "2",
"metadata": {},
"source": [
"Then we can integrate that experiment on a *per job* basis as defined in `project.py` :\n",
Expand Down
1 change: 1 addition & 0 deletions projects/flow.gmx-mtools/src/calc_density.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Calculates the density of a system over the length of a trajectory"""

import os

import matplotlib
Expand Down
1 change: 1 addition & 0 deletions projects/flow.gmx-mtools/src/project.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Define the project's workflow logic."""

import mbuild as mb
import signac
from flow import FlowProject
Expand Down
1 change: 1 addition & 0 deletions projects/flow.hoomd.lj/src/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

$ python src/project.py --help
"""

from flow import FlowProject


Expand Down
1 change: 1 addition & 0 deletions projects/flow.sklearn.init-ParameterGrid/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
See also:
https://scikit-learn.org/stable/modules/generated/sklearn.model_selection.RandomizedSearchCV.html
"""

import joblib
import signac
from sklearn import datasets, svm
Expand Down