Skip to content

Commit 73344b6

Browse files
committed
Development env setup changes
1 parent 7fc8b1b commit 73344b6

File tree

3 files changed

+24
-26
lines changed

3 files changed

+24
-26
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
test.py
22
__pycache__/
33
logs
4-
fit.egg-info
54
.venv
65
.idea
76
venv
87
mnist_model.pkl
98
*.png
10-
fit_ml.egg-info
9+
fit.egg-info

.pre-commit-config.yaml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,21 @@ repos:
99
- id: debug-statements
1010
- id: check-merge-conflict
1111

12-
#- repo: https://github.com/psf/black
13-
# rev: 23.3.0
14-
# hooks:
15-
# - id: black
16-
# args: [--line-length=100]
12+
- repo: https://github.com/psf/black
13+
rev: 23.3.0
14+
hooks:
15+
- id: black
16+
args: [--line-length=80]
1717

18-
#- repo: https://github.com/pycqa/flake8
19-
# rev: 6.0.0
20-
# hooks:
21-
# - id: flake8
22-
# args: [--max-line-length=100]
23-
# additional_dependencies: [flake8-docstrings]
18+
- repo: https://github.com/pycqa/flake8
19+
rev: 6.0.0
20+
hooks:
21+
- id: flake8
22+
args: [--max-line-length=80]
23+
additional_dependencies: [flake8-docstrings]
2424

25-
#- repo: https://github.com/pycqa/isort
26-
# rev: 5.12.0
27-
# hooks:
28-
# - id: isort
29-
# args: [--profile=black]
25+
- repo: https://github.com/pycqa/isort
26+
rev: 5.12.0
27+
hooks:
28+
- id: isort
29+
args: [--profile=black]

pyproject.toml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,21 @@ requires = ["setuptools>=61.0", "wheel"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
6-
name = "fit-ml"
7-
version = "0.2.0"
8-
description = "Lightweight machine learning library built from scratch with PyTorch-like API"
6+
name = "fit"
7+
version = "0.8.0"
8+
description = "ML/DL library built from scratch with PyTorch-like API"
99
readme = "README.md"
1010
license = {text = "MIT"}
1111
authors = [{name = "Łukasz Bielaszewski", email = "lukaszbielaszewskibiz@gmail.com"}]
12-
requires-python = ">=3.8"
12+
requires-python = ">=3.9"
1313
dependencies = [
1414
"numpy>=1.20.0",
1515
]
1616
classifiers = [
17-
"Development Status :: 3 - Alpha",
18-
"Intended Audience :: Developers",
17+
"Development Status :: Delta",
18+
"Intended Audience :: Developers, New Users into Machine Learning",
1919
"License :: OSI Approved :: MIT License",
2020
"Programming Language :: Python :: 3",
21-
"Programming Language :: Python :: 3.8",
2221
"Programming Language :: Python :: 3.9",
2322
"Programming Language :: Python :: 3.10",
2423
"Programming Language :: Python :: 3.11",
@@ -47,7 +46,7 @@ Repository = "https://github.com/Klus3kk/fit"
4746
include = ["fit*"]
4847

4948
[tool.black]
50-
line-length = 88
49+
line-length = 70
5150

5251
[tool.isort]
5352
profile = "black"

0 commit comments

Comments
 (0)