Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
18 changes: 18 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,21 @@ repos:
rev: 5.5.2
hooks:
- id: isort
- repo: https://github.com/hadialqattan/pycln
rev: v1.3.2 # Possible releases: https://github.com/hadialqattan/pycln/releases
hooks:
- id: pycln
args: [--config=pyproject.toml]
- repo: local
hooks:
- id: pylint
name: pylint
entry: pylint
language: system
types: [python]
args:
[
"-rn", # Only display messages
"-sn", # Don't display the score
"--rcfile=pylintrc", # Link to your config file
]
10 changes: 8 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"python.formatting.autopep8Args": [ // autopep8 の設定
"python.formatting.autopep8Args": [
"--indent-size=2",
"--ignore=E111, E114, E402, E501"
],
"python.linting.pylintEnabled": true,
"python.linting.cwd": "{workspaceFolder}/ramda",
"python.linting.enabled": true,
"python.linting.pylintArgs": [
"--rcfile=pylintrc"
]
}
}
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

This is a repo try to copy <https://github.com/ramda/ramda> in python.

[![linting: pylint](https://img.shields.io/badge/linting-pylint-yellowgreen)](https://github.com/PyCQA/pylint)

## install

For whom wants to use this package.
Expand Down Expand Up @@ -40,6 +42,7 @@ please check below `CheckList` for more details.
For whom wants to contribute to this repo.

```bash
$ pip install -U pylint
# see: https://pre-commit.com/ for more details
$ pre-commit install # please install hooks first
```
Expand Down
Loading