Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.github/workflows/ | H | 01-Dec-2021 | - | 28 | 23 | |
git/ | H | 03-May-2022 | - | 344 | 261 | |
python_tools/ | H | 03-May-2022 | - | 662 | 509 | |
test/ | H | 03-May-2022 | - | 1,209 | 1,016 | |
.codeclimate.yml | H A D | 01-Dec-2021 | 429 | 32 | 31 | |
.coveragerc | H A D | 01-Dec-2021 | 211 | 12 | 11 | |
.gitignore | H A D | 01-Dec-2021 | 429 | 22 | 21 | |
LICENSE | H A D | 01-Dec-2021 | 25.8 KiB | 505 | 418 | |
README.md | H A D | 01-Dec-2021 | 1.3 KiB | 23 | 18 | |
check_standards.py | H A D | 03-May-2022 | 8.1 KiB | 217 | 186 | |
cleanup_code.py | H A D | 03-May-2022 | 6.4 KiB | 216 | 170 | |
cleanup_pycs.py | H A D | 03-May-2022 | 1 KiB | 35 | 27 | |
make_all_header.py | H A D | 03-May-2022 | 1.8 KiB | 69 | 53 | |
pytest.ini | H A D | 01-Dec-2021 | 79 | 4 | 3 | |
replace.py | H A D | 03-May-2022 | 566 | 24 | 17 | |
setup_cmake.py | H A D | 03-May-2022 | 1.5 KiB | 53 | 40 |
README.md
1[![Build Status](https://github.com/salilab/developer_tools/workflows/build/badge.svg?branch=main)](https://github.com/salilab/developer_tools/actions?query=workflow%3Abuild) 2[![codecov](https://codecov.io/gh/salilab/developer_tools/branch/main/graph/badge.svg)](https://codecov.io/gh/salilab/developer_tools) 3[![Code Climate](https://codeclimate.com/github/salilab/developer_tools/badges/gpa.svg)](https://codeclimate.com/github/salilab/developer_tools) 4 5# Developer Tools 6 7This project contains tools that are used by a variety of development projects. 8In particular it provides tools to deal with 9 10- source code standards: `check_standards.py` checks various coding standards 11 and `cleanup_code.py` autoformats code files (using `autopep8` and 12 `clang-format` when available). 13- generating file lists for `cmake`: `setup_cmake.py` generates `Files.cmake` 14 lists of `.cpp` and `.py` files that `cmake` scripts can read. 15 `make_all_header.py` generates a header that includes a list of others, 16 eg `IMP.h`. These are useful to simplify SWIG files. 17- replacing strings in source files: `replace.py` does find and replace, 18 only modifying files that are changed (sed touches all passed files). 19- git support: see the `git` subdir. 20 21Most of the scripts are Python scripts, and should work with Python 2.7 or 22later (including Python 3). 23