Skip to content

Update CONTRIBUTING.md to enhance development guidelines #824

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 15, 2025

Conversation

eucyt
Copy link
Contributor

@eucyt eucyt commented Jul 14, 2025

Comment on lines -379 to -435
For SDK developers
------------------

First install for development.

::

$ pip install -r requirements-dev.txt


You can generate new or fixed models and APIs by this command.

::

$ python generate-code.py


When you update line-bot-sdk-python version, please update `linebot/__about__.py <linebot/__about__.py>`__ and generate code again.


If you edit `README.rst <README.rst>`__, you should execute the following command to check the syntax of README.

::

$ python -m readme_renderer README.rst


Run tests
~~~~~~~~~

Test by using tox. We test against the following versions.

- 3.9
- 3.10
- 3.11
- 3.12
- 3.13

To run all tests and to run ``flake8`` against all versions, use:

::

tox

To run all tests against version 3.10, use:

::

$ tox -e py3.10

To run a test against version 3.10 and against a specific file, use:

::

$ tox -e py3.10 -- tests/test_webhook.py


Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will be excluded as it duplicates the content of CONTRIBUTING.md. Since there is already a link to CONTRIBUTING.md, it is unnecessary.

@eucyt eucyt self-assigned this Jul 14, 2025
@eucyt eucyt requested a review from a team July 14, 2025 11:45
@eucyt eucyt marked this pull request as ready for review July 14, 2025 11:45
Copy link
Contributor

@habara-k habara-k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@eucyt eucyt added this pull request to the merge queue Jul 15, 2025
Merged via the queue into line:master with commit eaa654c Jul 15, 2025
13 checks passed
@eucyt eucyt deleted the feature/improve-cotributingmd branch July 15, 2025 04:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants