Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for import linter to lint tasks #227

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/changes/unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## ✨ Added

* Added cookiecutter-template for creating new project
* #149: Added import linter and nox task for it
* #149: Added nox task to lint imports
Nicoretti marked this conversation as resolved.
Show resolved Hide resolved

## 🔩 Internal

Expand Down
1 change: 1 addition & 0 deletions doc/user_guide/modules/modules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Modules
:maxdepth: 2

nox
nox_tasks
Jannis-Mittenzwei marked this conversation as resolved.
Show resolved Hide resolved
pre_commit_hooks
sphinx/sphinx

2 changes: 1 addition & 1 deletion exasol/toolbox/nox/_lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def security_lint(session: Session) -> None:

@nox.session(name="import-lint", python=False)
def import_lint(session: Session) -> None:
"""Runs the import linter on the project"""
"""Runs import linter on the project"""
parser = argparse.ArgumentParser(
usage="nox -s import-lint -- [options]",
description="Runs the import linter on the project"
Expand Down
Loading