Commit b6e9c55a authored by Wohlgemuth, Jason's avatar Wohlgemuth, Jason
Browse files

feat: Add ruff to project

parent 11e88f1c
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -3,12 +3,15 @@
test:
	@pytest

lint: format
	@pylint $(PATHS)

format:
	@black $(PATHS)

ruff: format
	@ruff

lint: format
	@pylint $(PATHS)

#
# Configuration Variables
#
+1 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@ dependencies:
  - pytest=7.1.2
  - pytest-cov=3.0.0
  - python=3.8
  - ruff
  - tqdm=4.64.0
  - pip:
    - -r requirements.txt
 No newline at end of file
+6 −0
Original line number Diff line number Diff line
@@ -24,3 +24,9 @@ addopts = "-p no:warnings -v --cov=lib --cov-report term --cov-report xml"
testpaths = [
    "tests"
]

[tool.ruff]
line-length = 100
ignore = [
    "E722" # bare-except
]
 No newline at end of file