Skip to content

Releases: hyperskill/hyperstyle

v.1.4.3

05 Sep 10:06
f0d4110
Compare
Choose a tag to compare

Add a new optional argument lang to analyze projects

v1.4.2

24 Mar 09:43
9a07e92
Compare
Choose a tag to compare

Fix several configs in Go

v1.4.1

06 Oct 17:51
a4c6e60
Compare
Choose a tag to compare

Run inspectors on code without files: flake8 + pylint

v1.4.0

06 Oct 17:01
84a431d
Compare
Choose a tag to compare

Support go language

v1.3.1

31 Aug 08:26
4945b5e
Compare
Choose a tag to compare

Changes:

  • Added a few classes that will help simplify inspectors:
    • IssueDescriptionParser -- A parser for an issue description. It allows to parse the issue description using regex and convert the resulting groups using the converter.
    • IssueConfig -- Custom config for a code issue. The main task of this dataclass is to change the issue description. If necessary, you can specify a parser that will parse the old description and insert the extracted data into the new description.
    • MeasurableIssueConfig -- Custom config for a measurable issue. The main task of this dataclass is to contain a parser that will extract the measure from the description. It is also possible to specify a new issue description if necessary. Unlike IssueConfig, this dataclass contains an additional field measure_position, which indicates the index by which the measure can be found in the regular expression pattern. This field is useful if the parser parses not only the measure but other data as well.
    • IssueConfigsHandler -- A class that handles issue configs. It accepts issue configs, turns them into dictionaries and handles requests for getting measures and descriptions.
  • Simplified:
    • flake8;
    • pylint;
    • pmd;
    • checkstyle;
    • detekt;
    • eslint;
  • radon does not need to be simplified because it collects only one type of issue (MAINTAINABILITY).
  • pythonast has not been migrated to the new architecture because it works directly with code, not through CLI.
  • Added a metric field to some issue tips.
  • Added a lot of tests.
  • Moved some common files to a separate folder.

v1.3.0

23 Aug 09:34
efa6a24
Compare
Choose a tag to compare

v1.2.7

18 Aug 09:23
e36fd22
Compare
Choose a tag to compare

Some minor changes with Python and Java inspectors

v1.2.5

11 Jan 07:54
44cb827
Compare
Choose a tag to compare

Python:

  • Disable WPS427 (unreachable code) since it conflicts with W0101
  • Add a custom tip for the bad augmented assign pattern

Java:

  • Disable MissingSerialVersionUID inspection

v1.2.4

17 Dec 08:04
4cb028b
Compare
Choose a tag to compare
  • Bump version 1.2.3 -> 1.2.4
  • Do not fail the tool if linters are not installed (issue#143 solved)

v1.2.3

25 Nov 08:02
0d95c14
Compare
Choose a tag to compare

Bump version 1.1.2 -> 1.1.3