Skip to content

Commit

Permalink
Merge pull request #71 from glotzerlab/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
bdice authored Apr 10, 2024
2 parents 1dec94f + 17bc58d commit d95c2f7
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
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

0 comments on commit d95c2f7

Please sign in to comment.