Skip to content

Commit 1058c64

Browse files
author
Nathaniel Chen
committed
Refactor project configuration and enhance linting rules
- Changed project name from "Fusion Artificial InTelligence Hub" to "faith" in pyproject.toml. - Updated linting rules in the ruff configuration to include additional checks for code quality. - Expanded Python version resolution markers in uv.lock to support more specific platform and version combinations. - Added new package dependencies in uv.lock, including aiohappyeyeballs and aiohttp with their respective versions and sources. - Imported nn module from torch in the test file to support neural network operations.
1 parent 29a9c7a commit 1058c64

3 files changed

Lines changed: 3124 additions & 159 deletions

File tree

pyproject.toml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[project]
2-
name = "Fusion Artificial InTelligence Hub"
2+
name = "faith"
33
version = "0.0.1-alpha"
44
authors = [
55
{ name = "Peter Steiner", email = "peter.steiner@princeton.edu" },
@@ -62,7 +62,16 @@ explicit = true
6262
package = true
6363

6464
[tool.ruff]
65-
select = ["E", "F", "I", "B", "ANN"]
65+
select = [
66+
"E", # pycodestyle errors
67+
"W", # pycodestyle warnings
68+
"F", # pyflakes
69+
"I", # isort
70+
"B", # flake8-bugbear
71+
"C4", # flake8-comprehensions
72+
"UP", # pyupgrade
73+
"ANN", # flake8-annotations
74+
]
6675
line-length = 79
6776

6877
[project.urls]

tests/test_train_blocks_base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import torch
2+
import torch.nn as nn
23
from src.faith.train.blocks import BaseConvBlock, BlockUtils
34

45

0 commit comments

Comments
 (0)