Skip to content

Commit

Permalink
drop recommonmark
Browse files Browse the repository at this point in the history
  • Loading branch information
mar10 committed Sep 21, 2024
1 parent 685ab8e commit 4efbe8b
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 82 deletions.
9 changes: 3 additions & 6 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ verify_ssl = true
name = "pypi"

[dev-packages]
# black = { version = "~=24.3", extras = ["jupyter"] }
fabulist="*"
# isort = "*"
ipykernel = "*"
notebook = "*"
pre-commit = "*"
pytest = "*"
pytest-cov = "*"
PyYAML = "*"
rdflib = "*"
recommonmark = "*"
ruff = "*"
setuptools = ">=42.0"
Sphinx = "*"
Expand All @@ -20,9 +20,6 @@ tox = "*"
twine = "*"
wheel = "*"
yabs = "*"
ipykernel = "*"
notebook = "*"
pre-commit = "*"
nutree = {path = ".",editable = true}

[packages]
Expand Down
69 changes: 27 additions & 42 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 0 additions & 29 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,33 +1,4 @@
# [tool.black]
# line-length = 88
# target-version = ['py38', 'py39', 'py310', 'py311']
# include = '\.pyi?$'
# exclude = '''
# /(
# \.git
# | \.hg
# | \.tox
# | \.venv
# | \.eggs
# | \.cache
# | build
# | __pycache__
# | dist
# | \.*

# )/
# '''


# [tool.isort]
# # See https://black.readthedocs.io/en/stable/compatible_configs.html
# profile = "black"
# src_paths = ["nutree", "tests"]

[tool.ruff]
# Decrease the maximum line length to 79 characters.
# line-length = 79
# Support Python 3.10+.
target-version = "py38"
src = ["nutree", "tests"]

Expand Down
5 changes: 0 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,13 @@ commands =
description = Reformat python code using ruff (Black, isort, and pyupgrade)
; # skip_install = true
deps =
; {[testenv:check]deps}
; pyupgrade
ruff
allowlist_externals =
bash
changedir = {toxinidir}
commands =
; bash -ec 'pyupgrade --py38-plus --exit-zero-even-if-changed nutree/*.py tests/*.py setup.py'
ruff check --fix nutree tests setup.py
ruff format nutree tests setup.py
; isort --profile black nutree tests setup.py {posargs}
; black nutree tests setup.py
{[testenv:lint]commands}


Expand Down

0 comments on commit 4efbe8b

Please sign in to comment.