Devreplay suggests code fix ways that already fixed by human reviewers in past.
- VS Code support is here
- Install this app from https://github.com/apps/devreplay
- Create your own programming style(
devreplay.json
) on the root like bellow (Recommend) Review Pattern Generator can generate your rule file automatically
[
{
"condition": [
"for $0 in xrange(${1:name}.$2):"
],
"consequent": [
"import six",
"for $0 in six.moves.range(${1:name}.$2):"
],
}
]
This mean if your code has xrange
, it should be six.moves.range
And create your code(hello.py
) like this.
for a in xrange(array.x):
pass
- The developer(you) submits a pull request
- This bot suggests source code changes based on pattern.
# Install dependencies
yarn
# Run typescript
npm run build
# Run the bot
npm start
If you have suggestions for how another-code-reviewer could be improved, or want to report a bug, open an issue! We'd love all and any contributions.
For more, check out the Contributing Guide.
ISC © 2018 Yuki Ueda ueda.yuki.un7@is.naist.jp (ikuyadeu.github.io)
- CPP
- Java
- JavsScript
- TypeScript
- Python
- Ruby
Please use pattern detector.
https://github.com/Ikuyadeu/review_pattern_gen
This package is made based on
We would like to thank the Support Center for Advanced Telecommunications (SCAT) Technology Research, Foundation. This system was supported by JSPS KAKENHI Grant Numbers JP18H03222, JP17H00731, JP15H02683, and JP18KT0013.