Skip to content

Commit

Permalink
chore: rst linter
Browse files Browse the repository at this point in the history
  • Loading branch information
senz committed Nov 30, 2024
1 parent 3c80262 commit cdfd92f
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ code-format:
.PHONY: static-analysis # Runs static analysis
static-analysis:
@prospector --profile ./prospector.yaml src
@rst-lint .

.PHONY: security-analysis # Runs security analysis looking for vulnerabilities in code; required arguments:~file=[file path]: the file to analyze
security-analysis:
Expand Down
26 changes: 25 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ build = "~1.2.1"
black = "*"
pylint = "*"
[tool.poetry.extras]
dev = ["pytest", "pytest-cov", "prospector", "bandit", "setuptools", "build", "black", "pylint"]
dev = ["pytest", "pytest-cov", "prospector", "bandit", "setuptools", "build", "black", "pylint", "restructuredtext-lint"]
[tool.poetry.plugins."ofxstatement"]
alfabank = "ofxstatement_ru.alfabank:AlfabankPlugin"
avangard = "ofxstatement_ru.avangard:AvangardPlugin"
Expand All @@ -75,6 +75,7 @@ vtb = "ofxstatement_ru.vtb:VtbPlugin"

[tool.poetry.group.dev.dependencies]
pylint = "^3.3.1"
restructuredtext-lint = "^1.4.0"

[tool.poetry-dynamic-versioning]
enable = true
Expand Down

0 comments on commit cdfd92f

Please sign in to comment.