147 lines
4.4 KiB
TOML
147 lines
4.4 KiB
TOML
[build-system]
|
|
requires = ["flit_core>=3.2"]
|
|
build-backend = "flit_core.buildapi"
|
|
|
|
[project]
|
|
name = "pygments_nightfox_style"
|
|
version = "1.0.0"
|
|
requires-python = ">=3.8"
|
|
dependencies = [
|
|
"pygments"
|
|
]
|
|
license = {text = "MIT"}
|
|
authors = [
|
|
{name = "Nerv Project ASBL", email = "contact@nerv-project.eu"},
|
|
{name = "kujiu"},
|
|
{name = "ptitgnu"}
|
|
]
|
|
maintainers = [
|
|
{name = "Nerv Project ASBL", email = "contact@nerv-project.eu"},
|
|
{name = "kujiu"},
|
|
{name = "ptitgnu"}
|
|
]
|
|
description = "Nightfox pigments theme based on nightfox.vim (by EdenEast)"
|
|
readme = {file = "README.rst", content-type = "text/x-rst"}
|
|
keywords=["pygments", "nightfox", "style"]
|
|
classifiers=[
|
|
"Development Status :: 5 - Production/Stable",
|
|
"Programming Language :: Python :: 3",
|
|
"Operating System :: OS Independent",
|
|
"Topic :: Documentation",
|
|
"Topic :: Software Development :: Documentation",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
]
|
|
|
|
[project.urls]
|
|
homepage = "https://www.nerv-project.eu"
|
|
repository = "https://procrastinator.nerv-project.eu/kujiu/pygments_nightfox_style"
|
|
issues = "https://procrastinator.nerv-project.eu/kujiu/pygments_nightfox_style/issues"
|
|
editor = "https://www.nerv-project.eu"
|
|
changelog = "https://procrastinator.nerv-project.eu/kujiu/pygments_nightfox_style/raw/branch/main/CHANGES.rst"
|
|
|
|
[project.optional-dependencies]
|
|
tests = [
|
|
"pytest",
|
|
"pyright",
|
|
"pylint",
|
|
"pytest-cov"
|
|
]
|
|
setup = [
|
|
"pygments",
|
|
"pyright",
|
|
"pylint",
|
|
"flit",
|
|
]
|
|
|
|
[project.scripts]
|
|
|
|
[project.entry-points."pygments.styles"]
|
|
nightfox = "pygments_nightfox_style:NightfoxStyle"
|
|
nightfox_transparent = "pygments_nightfox_style:NightfoxTransparentStyle"
|
|
|
|
[tool.pytest.ini_options]
|
|
minversion = "6.0"
|
|
addopts = "-ra -q"
|
|
testpaths = [
|
|
"tests",
|
|
]
|
|
|
|
[tool.flit.sdist]
|
|
include = [
|
|
"*.py",
|
|
]
|
|
|
|
[tool.pyright]
|
|
analyzeUnannotatedFunctions = true
|
|
deprecateTypingAliases = true
|
|
enableExperimentalFeatures = false
|
|
enableTypeIgnoreComments = false
|
|
reportAssertAlwaysTrue = "warning"
|
|
reportCallInDefaultInitializer = "information"
|
|
reportConstantRedefinition = "warning"
|
|
reportDeprecated = "warning"
|
|
reportDuplicateImport = "warning"
|
|
reportFunctionMemberAccess = "warning"
|
|
reportGeneralTypeIssues = "error"
|
|
reportImplicitOverride = "warning"
|
|
reportImplicitStringConcatenation = "information"
|
|
reportImportCycles = "error"
|
|
reportIncompatibleMethodOverride = "warning"
|
|
reportIncompatibleVariableOverride = "warning"
|
|
reportIncompleteStub = "warning"
|
|
reportInconsistentConstructor = "warning"
|
|
reportInvalidStringEscapeSequence = "error"
|
|
reportInvalidStubStatement = "warning"
|
|
reportInvalidTypeVarUse = "warning"
|
|
reportMatchNotExhaustive = "warning"
|
|
reportMissingImports = "error"
|
|
reportMissingModuleSource = "warning"
|
|
reportMissingParameterType = "error"
|
|
reportMissingSuperCall = "warning"
|
|
reportMissingTypeArgument = "error"
|
|
reportMissingTypeStubs = "warning"
|
|
reportOptionalCall = "error"
|
|
reportOptionalContextManager = "error"
|
|
reportOptionalIterable = "error"
|
|
reportOptionalMemberAccess = "error"
|
|
reportOptionalOperand = "error"
|
|
reportOptionalSubscript = "error"
|
|
reportOverlappingOverload = "warning"
|
|
reportPrivateImportUsage = "error"
|
|
reportPrivateUsage = "warning"
|
|
reportPropertyTypeMismatch = "error"
|
|
reportSelfClsParameterName = "error"
|
|
reportShadowedImports = "warning"
|
|
reportTypeCommentUsage = "warning"
|
|
reportTypedDictNotRequiredAccess = "error"
|
|
reportUnboundVariable = "error"
|
|
reportUndefinedVariable = "error"
|
|
reportUninitializedInstanceVariable = "warning"
|
|
reportUnknownArgumentType = "error"
|
|
reportUnknownLambdaType = "error"
|
|
reportUnknownMemberType = "error"
|
|
reportUnknownParameterType = "error"
|
|
reportUnknownVariableType = "error"
|
|
reportUnnecessaryCast = "warning"
|
|
reportUnnecessaryComparison = "warning"
|
|
reportUnnecessaryContains = "warning"
|
|
reportUnnecessaryIsInstance = "warning"
|
|
reportUnnecessaryTypeIgnoreComment = "warning"
|
|
reportUnsupportedDunderAll = "warning"
|
|
reportUntypedBaseClass = "error"
|
|
reportUntypedClassDecorator = "error"
|
|
reportUntypedFunctionDecorator = "error"
|
|
reportUntypedNamedTuple = "error"
|
|
reportUnusedCallResult = "warning"
|
|
reportUnusedClass = "information"
|
|
reportUnusedCoroutine = "error"
|
|
reportUnusedExpression = "warning"
|
|
reportUnusedFunction = "information"
|
|
reportUnusedImport = "information"
|
|
reportUnusedVariable = "warning"
|
|
reportWildcardImportFromLibrary = "error"
|
|
strictDictionaryInference = true
|
|
strictListInference = true
|
|
strictParameterNoneValue = true
|
|
strictSetInference = true
|