-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 🔧 Update pyproject file * 🙈 Update gitignore * 🔧 Update pyproject meta * 🔧 Update flake8/ruff rules
- Loading branch information
Showing
5 changed files
with
88 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -134,4 +134,5 @@ reports/ | |
# editor | ||
.vscode | ||
|
||
# Ruff cache | ||
.ruff_cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,24 +8,36 @@ build-backend = "hatchling.build" | |
[project] | ||
name = "jupyter-a11y-tests" | ||
description = "Set of automated accessibility tests for JupyterLab" | ||
version = "1.0.0" | ||
readme = "README.md" | ||
license = "BSD-3-Clause" | ||
authors = [{ name = "Tania Allard", email = "[email protected]" }] | ||
keywords = ["jupyter", "jupyterlab", "accessibility", "a11y"] | ||
requires-python = ">=3.8" | ||
authors = [ | ||
{ name = "Tania Allard", email = "[email protected]" }, | ||
{ name = "Gabriel Fouasnon", email = "[email protected]" } | ||
] | ||
keywords = ["jupyter", "jupyterlab", "accessibility", "a11y", "testing"] | ||
classifiers = [ | ||
"Development Status :: 2 - Pre-Alpha", | ||
"Development Status :: 3 - Alpha", | ||
"Topic :: Software Development :: Build Tools", | ||
"Topic :: Software Development :: Testing", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"License :: OSI Approved :: BSD License", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Information Technology", | ||
"Intended Audience :: Science/Research", | ||
"Framework :: Jupyter :: JupyterLab", | ||
"Framework :: Jupyter :: JupyterLab :: 3", | ||
"Framework :: Jupyter :: JupyterLab :: 4" | ||
] | ||
requires-python = ">=3.8" | ||
version = "0.0.1" | ||
|
||
[project.urls] | ||
Repository = "https://github.com/Quansight-Labs/jupyter-a11y-testing" | ||
Issues = "https://github.com/Quansight-Labs/jupyter-a11y-testing/issues" | ||
|
||
[tool.isort] | ||
profile = "black" | ||
|
@@ -39,11 +51,19 @@ addopts = "--nbval --sanitize-with docs/sanitize.cfg -pno:warnings --cov=schemin | |
[tool.hatch] | ||
|
||
[tool.ruff] | ||
# Never enforce `E501` (line length violations). | ||
builtins = ["c"] | ||
ignore = ["C", "D400", "E", "F401", "F841", "W", "E501"] | ||
# E501 Line too long (158 > 100 characters) | ||
# D400: First line should end with a period | ||
# F401: Imported but unused | ||
# F841: Local variable is assigned to but never used | ||
ignore = ["D400", "F401", "F841", "E501"] | ||
include = ["*.py", "*.pyi", "**/pyproject.toml", "*.ipynb"] | ||
select = ["C4", "C9", "D", "E", "F", "W"] | ||
# A: builtins | ||
# F: Pyflakes | ||
# E,W: pycodestyle | ||
# C4: flake8-comprehensions | ||
# D: pydocstyle | ||
select = ["A", "B", "C", "C4", "C9", "D", "E", "F", "W", "ICN"] | ||
|
||
[tool.ruff.pydocstyle] | ||
convention = "google" # Accepts: "google", "numpy", or "pep257". | ||
convention = "google" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.