diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 21f4b51c..150952c1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -51,8 +51,6 @@ git push -u origin main ## 🎨 Code quality - Follow the following guide on code quality a python guide or your PR will most likely be overlooked: [CLICK HERE](https://google.github.io/styleguide/pyguide.html) - - ### Pre-commit tool This project utilizes the [pre-commit](https://pre-commit.com/) tool to maintain code quality and consistency. Before submitting a pull request or making any commits, it is important to run the pre-commit tool to ensure that your changes meet the project's guidelines. @@ -85,6 +83,8 @@ To run the pre-commit tool, follow these steps: 4. You can also install pre-commit as a git hook by execute `pre-commit install`. Every time you made `git commit` pre-commit run automatically for you. + + ### Docstrings All new functions and classes in `swarms` should include docstrings. This is a prerequisite for any new functions and classes to be added to the library. @@ -156,4 +156,4 @@ If you're asking for a specific content or functionality inside `code-quality.sh ## 📄 license -By contributing, you agree that your contributions will be licensed under an [MIT license](https://github.com/kyegomez/swarms/blob/develop/LICENSE.md). \ No newline at end of file +By contributing, you agree that your contributions will be licensed under an [MIT license](https://github.com/kyegomez/swarms/blob/develop/LICENSE.md). diff --git a/pyproject.toml b/pyproject.toml index 50751705..331ff5d8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -77,18 +77,11 @@ mypy-protobuf = "^3.0.0" [tool.autopep8] -max_line_length = 70 +max_line_length = 80 ignore = "E501,W6" # or ["E501", "W6"] in-place = true recursive = true aggressive = 3 [tool.ruff] -line-length = 70 - -[tool.black] -line-length = 70 -target-version = ['py38'] -preview = true - - +line-length = 80