Skip to content

Commit

Permalink
ruff version diff --
Browse files Browse the repository at this point in the history
  • Loading branch information
Mole1424 committed Aug 10, 2024
1 parent f41b803 commit c213696
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 27 deletions.
25 changes: 0 additions & 25 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,28 +1,3 @@
[tool.black]
line-length = 88
target_version = ['py310']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| env
| _build
| buck-out
| build
| dist
| .venv
| venv
)/
)
'''


[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra"
Expand Down
4 changes: 2 additions & 2 deletions voting/splitutils.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import _csv
import re
from csv import QUOTE_ALL, Sniffer, reader
from typing import List

import _csv


# Customized sniffer with custom delimiter order
class ArgSniffer(Sniffer):
Expand All @@ -15,6 +14,7 @@ def __init__(self, preferred):
# Default delimiter order
delimiters = ["\n", ";", ",", " "]


# Split voting choice arguments
def split_args(input: str, dels=None) -> List[str]:
if dels is None:
Expand Down

0 comments on commit c213696

Please sign in to comment.