Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>
  • Loading branch information
harupy committed Feb 20, 2024
1 parent 7253e9f commit a6dcdba
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Expand Up @@ -32,8 +32,8 @@ repos:
stages: [commit]
require_serial: true

- id: clint
name: clint
- id: custom-python-lint
name: custom-python-lint
entry: clint
language: system
types: [python]
Expand Down
10 changes: 7 additions & 3 deletions dev/clint/README.md
@@ -1,16 +1,20 @@
# Installation
# Clint

A custom linter for mlflow to enforce rules that ruff doesn't cover.

## Installation

```
pip install -e dev/clint
```

# Usage
## Usage

```bash
clint file.py ...
```

# Integrating with Visual Studio Code
## Integrating with Visual Studio Code

1. Install [the Pylint extension](https://marketplace.visualstudio.com/items?itemName=ms-python.pylint)
2. Add the following setting in your `settings.json` file:
Expand Down
2 changes: 1 addition & 1 deletion dev/clint/pyproject.toml
Expand Up @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "clint"
version = "0.1.0"
description = "A custom linter to enforce rules that ruff doesn't support."
description = "A custom linter for mlflow to enforce rules that ruff doesn't cover."
readme = "README.md"
authors = [{ name = "mlflow", email = "mlflow@mlflow.com" }]
dependencies = ["tomli"]
Expand Down

0 comments on commit a6dcdba

Please sign in to comment.