diff --git a/.flake8 b/.flake8 deleted file mode 100644 index 7a70dbd..0000000 --- a/.flake8 +++ /dev/null @@ -1,4 +0,0 @@ -[flake8] -max-line-length = 120 -exclude = .git,docs -per-file-ignores = __init__.py: F401 \ No newline at end of file diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml new file mode 100644 index 0000000..9f78491 --- /dev/null +++ b/.github/workflows/black.yml @@ -0,0 +1,5 @@ +name: Black Formatting + +on: + release: + types: [published] \ No newline at end of file diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml new file mode 100644 index 0000000..69dd21a --- /dev/null +++ b/.github/workflows/ruff.yml @@ -0,0 +1,5 @@ +name: Linting + +on: + release: + types: [published] \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 8423964..bc1672f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "hydrogym" -version = "0.1.2.1" +version = "0.1.2.2" authors = [ "Jared Callaham et al." ] @@ -51,7 +51,7 @@ gmsh = "^4.11.1" gym = "^0.26.2" modred = "^2.1.0" python = "^3.10" -torch = "^2.0.0" +torch = "^2.0" [tool.poetry.group.dev.dependencies] jupyterlab = "^3.5.2" @@ -71,6 +71,10 @@ tensorboard = "^2.11.0" [tool.poetry.extras] #sim_backend = ["sim_framework"] +[tool.ruff.lint] +select = ["E", "F"] +ignore = ["F401"] + [build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api"