Skip to content

Commit

Permalink
Merge pull request #64 from xsuite/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
eltos authored Feb 3, 2025
2 parents 3b3bba9 + e6fb737 commit c509065
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 30 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
repos:
- repo: https://github.com/psf/black
rev: 24.10.0
rev: 25.1.0
hooks:
- id: black
- id: black-jupyter
types: [jupyter]
args: [--line-length=85] # notebooks (for sphinx docs)

- repo: https://github.com/pycqa/pylint
rev: v3.3.3
rev: v3.3.4
hooks:
- id: pylint

Expand Down
4 changes: 1 addition & 3 deletions xplt/base.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

""" Base methods for plotting
"""
"""Base methods for plotting"""

__author__ = "Philipp Niedermayer"
__contact__ = "eltos@outlook.de"
Expand Down
2 changes: 1 addition & 1 deletion xplt/colors.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

""" Color definitions
"""Color definitions
Colors from https://arxiv.org/abs/2107.02270
Expand Down
4 changes: 1 addition & 3 deletions xplt/hooks.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

""" Matplotlib setup
"""
"""Matplotlib setup"""

__author__ = "Philipp Niedermayer"
__contact__ = "eltos@outlook.de"
Expand Down
4 changes: 1 addition & 3 deletions xplt/line.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

""" Methods for plotting lines
"""
"""Methods for plotting lines"""

__author__ = "Philipp Niedermayer"
__contact__ = "eltos@outlook.de"
Expand Down
4 changes: 1 addition & 3 deletions xplt/particles.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

""" Methods for plotting phase space distributions
"""
"""Methods for plotting phase space distributions"""

__author__ = "Philipp Niedermayer"
__contact__ = "eltos@outlook.de"
Expand Down
4 changes: 1 addition & 3 deletions xplt/phasespace.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

""" Methods for plotting phase space distributions
"""
"""Methods for plotting phase space distributions"""

__author__ = "Philipp Niedermayer"
__contact__ = "eltos@outlook.de"
Expand Down
4 changes: 1 addition & 3 deletions xplt/properties.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

""" Methods to work with properties
"""
"""Methods to work with properties"""

__author__ = "Philipp Niedermayer"
__contact__ = "eltos@outlook.de"
Expand Down
4 changes: 1 addition & 3 deletions xplt/timestructure.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

""" Methods for plotting particle arrival times
"""
"""Methods for plotting particle arrival times"""

__author__ = "Philipp Niedermayer"
__contact__ = "eltos@outlook.de"
Expand Down
4 changes: 1 addition & 3 deletions xplt/twiss.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

""" Methods for plotting twiss
"""
"""Methods for plotting twiss"""

__author__ = "Philipp Niedermayer"
__contact__ = "eltos@outlook.de"
Expand Down
4 changes: 1 addition & 3 deletions xplt/util.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

""" Utility methods for accelerator physics
"""
"""Utility methods for accelerator physics"""

__author__ = "Philipp Niedermayer"
__contact__ = "eltos@outlook.de"
Expand Down

0 comments on commit c509065

Please sign in to comment.