Skip to content

Commit f2d12f6

Browse files
committed
Formatted semchunk with Ruff.
1 parent 5c7abc8 commit f2d12f6

File tree

2 files changed

+252
-125
lines changed

2 files changed

+252
-125
lines changed

pyproject.toml

Lines changed: 61 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,64 @@ Issues = "https://github.com/umarbutler/semchunk/issues"
5555
Source = "https://github.com/umarbutler/semchunk"
5656

5757
[tool.hatch.build.targets.sdist]
58-
only-include = ['src/semchunk/__init__.py', 'src/semchunk/py.typed', 'src/semchunk/semchunk.py', 'pyproject.toml', 'README.md', 'LICENCE', 'CHANGELOG.md', 'tests/bench.py', 'tests/test_semchunk.py', '.github/workflows/ci.yml', 'tests/helpers.py']
58+
only-include = ['src/semchunk/__init__.py', 'src/semchunk/py.typed', 'src/semchunk/semchunk.py', 'pyproject.toml', 'README.md', 'LICENCE', 'CHANGELOG.md', 'tests/bench.py', 'tests/test_semchunk.py', '.github/workflows/ci.yml', 'tests/helpers.py']
59+
60+
[tool.ruff]
61+
exclude = [
62+
"__pycache__",
63+
"develop-eggs",
64+
"eggs",
65+
".eggs",
66+
"wheels",
67+
"htmlcov",
68+
".tox",
69+
".nox",
70+
".coverage",
71+
".cache",
72+
".pytest_cache",
73+
".ipynb_checkpoints",
74+
".mypy_cache",
75+
".pybuilder",
76+
"__pypackages__",
77+
".env",
78+
".venv",
79+
"venv",
80+
"env",
81+
"ENV",
82+
"env.bak",
83+
"venv.bak",
84+
".archive",
85+
".persist_cache",
86+
"site-packages",
87+
"node_modules",
88+
"dist",
89+
"build",
90+
"dist-info",
91+
"egg-info",
92+
".hatchling",
93+
".bzr",
94+
".direnv",
95+
".git",
96+
".git-rewrite",
97+
".hg",
98+
".pants.d",
99+
".pytype",
100+
".ruff_cache",
101+
".svn",
102+
".vscode",
103+
"_build",
104+
"buck-out",
105+
"migrations",
106+
"target",
107+
"bin",
108+
"lib",
109+
"lib64",
110+
"include",
111+
"share",
112+
"var",
113+
"tmp",
114+
"temp",
115+
"logs",
116+
]
117+
line-length = 120
118+
target-version = "py312"

0 commit comments

Comments
 (0)