bitfinexcom / bitfinex-api-py

Apache License 2.0
200 stars 125 forks source link

Merge branch `Davi0kProgramsThings:fix/refactoring` into branch `bitfinexcom:master`. #235

Closed Davi0kProgramsThings closed 8 months ago

Davi0kProgramsThings commented 8 months ago

Description

PR introduces isort, black and flake8 in the project's development stack. \ It also introduces support for pre-commit (see .pre-commit-config.yaml). New steps has been added to the build action in bitfinex-api-py-ci.yml.

README has been updated with a brief chapter on how to set up pre-commit.

The project won't support pylint anymore.

Motivation and Context

From now on, developers will no longer need to write code that complies to PEP8 theirself. \ pre-commit will take care of formatting the project's code base to fit the PEP8 style guidelines. \ The developers will only be responsible for ensuring that flake8 does not return any error.

Related Issue

PR fixes the following issue: -

Type of change

Checklist: