Skip to content

Commit

Permalink
AlphaFold losses
Browse files Browse the repository at this point in the history
  • Loading branch information
0x00b1 committed Apr 29, 2024
1 parent 3e4ffd0 commit 5536dce
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
repos:
- hooks:
- id: "check-toml"
- id: "check-yaml"
repo: "https://github.com/pre-commit/pre-commit-hooks"
rev: "v4.6.0"
- hooks:
- args:
- "--fix"
id: "ruff"
- id: "ruff-format"
repo: "https://github.com/astral-sh/ruff-pre-commit"
rev: "v0.3.7"
15 changes: 13 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,19 @@ name = "beignet"
readme = "README.md"
requires-python = ">=3.10"

[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint]
select = [
"B", # FLAKE8-BUGBEAR
"E", # PYCODESTYLE ERRORS
"F", # PYFLAKES
"I", # ISORT
"W", # PYCODESTYLE WARNINGS
]

[tool.ruff.lint.per-file-ignores]
"__init__.py" = [
"F401", # MODULE IMPORTED BUT UNUSED
]

[tool.setuptools_scm]
local_scheme = "no-local-version"
Empty file added src/beignet/nn/__init__.py
Empty file.

0 comments on commit 5536dce

Please sign in to comment.