-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from CyberAgentAILab/feat/get-started-doc
Update get-started guide
- Loading branch information
Showing
15 changed files
with
284 additions
and
253 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
|
||
# Contribution | ||
Thank you for considering contributing to this project! Here are some guidelines to help you get started. | ||
|
||
## How can I contribute to this project? | ||
### Reporting Bugs | ||
If you find a bug, please report it by opening an issue in the issue tracker. Provide as much detail as possible to help us understand and reproduce the issue: | ||
- A clear and descriptive title. | ||
- A detailed description of the problem. | ||
- Steps to reproduce the issue. | ||
- Any error messages or screenshots. | ||
|
||
### Suggesting Enhancements | ||
We welcome suggestions for improvements! To suggest an enhancement: | ||
- Check the issue tracker to see if someone else has already suggested it. | ||
- If not, open a new issue and describe your idea clearly. | ||
- Explain why you believe the enhancement would be beneficial. | ||
|
||
### Pull Requests | ||
Pull requests are welcome! If you plan to make significant changes, please open an issue first to discuss your idea. This helps us ensure that your contribution fits with the project's direction. Follow these steps for a smooth pull request process: | ||
|
||
- Fork the repository. | ||
- Clone your fork to your local machine. | ||
- Create a new branch: `git checkout -b my-feature-branch`. | ||
- Make your changes. | ||
- Commit your changes: `git commit -m 'Add some feature'. | ||
- Push to the branch: `git push origin my-feature-branch`. | ||
- Open a pull request in the original repository. | ||
|
||
## Development | ||
Here are the basic commands you can use to develop this package. | ||
|
||
### Install Pipenv | ||
If you don't have `pipenv` installed, you can install it using `pip`: | ||
|
||
```sh | ||
pip install pipenv | ||
``` | ||
|
||
### Linting | ||
We use `ruff` for linting the code. To run the linter, use the following command: | ||
```sh | ||
pipenv run lint | ||
``` | ||
|
||
### Auto format | ||
We use `ruff` for formatting the code. To run the formatter, use the following command: | ||
```sh | ||
pipenv run format | ||
``` | ||
|
||
### Unit test | ||
We use `unittest` for testing the code. To run the unit tests, use the following command: | ||
```sh | ||
pipenv run unittest | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Contribution Guide | ||
================== | ||
|
||
Regarding how to contribute to this package, please refer to https://github.com/CyberAgentAILab/python-dte-adjustment/CONTRIBUTING.md for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.