ruff-config-silverwind 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +9 -0
  2. package/package.json +16 -0
  3. package/ruff.toml +30 -0
package/README.md ADDED
@@ -0,0 +1,9 @@
1
+ # ruff-config-silverwind [![](https://img.shields.io/npm/v/ruff-config-silverwind.svg)](https://www.npmjs.org/package/ruff-config-silverwind) [![](https://img.shields.io/badge/licence-bsd-blue.svg)](https://raw.githubusercontent.com/silverwind/ruff-config-silverwind/master/LICENSE)
2
+
3
+ ## Installation
4
+
5
+ ```
6
+ npm i ruff-config-silverwind
7
+ ```
8
+
9
+ © [silverwind](https://github.com/silverwind), distributed under BSD licence.
package/package.json ADDED
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "ruff-config-silverwind",
3
+ "version": "0.0.0",
4
+ "description": "Ruff configuration",
5
+ "author": "silverwind <me@silverwind.io>",
6
+ "repository": "silverwind/ruff-config-silverwind",
7
+ "license": "BSD-2-Clause",
8
+ "type": "module",
9
+ "files": [
10
+ "ruff.toml"
11
+ ],
12
+ "devDependencies": {
13
+ "updates": "16.4.2",
14
+ "versions": "12.1.3"
15
+ }
16
+ }
package/ruff.toml ADDED
@@ -0,0 +1,30 @@
1
+ indent-width = 2
2
+ line-length = 320
3
+ lint.select = [
4
+ "A", # flake8-builtins
5
+ "ASYNC", # flake8-async
6
+ "B", # flake8-bugbear
7
+ "C4", # flake8-comprehensions
8
+ "E", # pycodestyle
9
+ "F", # pyflakes
10
+ "ICN", # flake8-import-conventions
11
+ "INT", # flake8-gettext
12
+ "PIE", # flake8-pie
13
+ "PL", # pylint
14
+ "RSE", # flake8-raise
15
+ "RUF", # ruff
16
+ "T10", # flake8-debugger
17
+ "TCH", # flake8-type-checking
18
+ "UP", # pycodestyle
19
+ "W", # pycodestyle
20
+ "YTT", # flake8-2020
21
+ ]
22
+ lint.ignore = [
23
+ "A001", "A002", "A003", "A006", "B006", "C405", "C417", "E501", "E711", "E712", "E713", "E722",
24
+ "E731", "E741", "F541", "PIE804", "PIE808", "PLR2004", "PLR0911", "PLR0913", "PLR0912",
25
+ "PLR0915", "PLR1714", "PLR5501", "PLW2901", "UP013", "UP015", "UP038", "RUF010", "RUF012",
26
+ "RUF015", "TC001", "TC006",
27
+ ]
28
+ format.quote-style = "double"
29
+ format.indent-style = "space"
30
+ format.line-ending = "lf"