Skip to content
Snippets Groups Projects
Commit e33336e2 authored by Alexis GAMELIN's avatar Alexis GAMELIN
Browse files

Update pyproject.toml

Add poetry.lock file
Fix imports in feedback.py
parent aa4d2c9f
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,8 @@ feedback for tracking.
import matplotlib.pyplot as plt
import numpy as np
from mbtrack2.tracking import Beam, Bunch, Element
from mbtrack2.tracking.element import Element
from mbtrack2.tracking.particles import Beam, Bunch
class ExponentialDamper(Element):
......
poetry.lock 0 → 100644
This diff is collapsed.
[tool.poetry]
name = "mbtrack2"
version = "0.4.1"
version = "0.5.0"
description = "A coherent object-oriented framework to work on collective effects in synchrotrons."
authors = ["Alexis Gamelin <alexis.gamelin@synchrotron-soleil.fr>"]
license = "BSD-3-Clause"
......@@ -20,9 +20,18 @@ accelerator-toolbox = ">= 0.3.0"
seaborn = "^0.12"
[tool.poetry.group.dev.dependencies]
black = "^22.1"
yapf = ">= 0.29"
isort = "5.*"
pytest = "^7.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.yapf]
based_on_style = "pep8"
arithmetic_precedence_indication = true
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment