Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
Change the build backend to hatchling
Browse files Browse the repository at this point in the history
  • Loading branch information
rednafi committed Jul 31, 2022
1 parent d688d71 commit 6ebb750
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 68 deletions.
File renamed without changes.
72 changes: 65 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,74 @@
# Linter configuruation.
##########################################
# Build system configs
##########################################

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "rubric"
version = "0.6.5"
authors = [
{ name="rednafi", email="[email protected]" },
]
description = ">> Linter Config Initialization for Python <<"
readme = "README.md"
license = { file="LICENSE" }
requires-python = ">=3.8"
dependencies = [
"click"
]

classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
]

[project.optional-dependencies]
dev = [
"black",
"flake8",
"isort",
"mypy",
"pre-commit",
"pip-tools",
"pytest",
"pytest-asyncio",
"twine",
"build",
"types-setuptools",
"types-pkg_resources",
]

[project.urls]
"Homepage" = "https://github.com/rednafi/rubric"
"Issue Tracker" = "https://github.com/pypa/rubric/issues"

[project.scripts]
rubric = "rubric:cli"

##########################################
# Development configs
##########################################

[tool.isort]
profile = "black"
atomic = true
extend_skip_glob = "migrations,scripts"
extend_skip_glob = "scripts"
line_length = 88


[tool.black]
extend-exclude = "migrations,scripts"

extend-exclude = "scripts"

[tool.mypy]
follow_imports = "skip"
Expand All @@ -21,7 +81,5 @@ disallow_untyped_defs = true
disallow_incomplete_defs = true
exclude = ["build", "tests"]


# pyproject.toml
[tool.pytest.ini_options]
asyncio_mode = "auto"
58 changes: 0 additions & 58 deletions setup.cfg

This file was deleted.

3 changes: 0 additions & 3 deletions setup.py

This file was deleted.

0 comments on commit 6ebb750

Please sign in to comment.