git clone "https://github.com/siddartham/attribute-name-validator.git"
cd attribute-name-validator
make
To add a new enterprise approved class word or acronym to the tool.
- create a feature branch as stated below.
- To add a new entry(acronym or class word) to the tool for analysis
- Add it in the respective sheet
- Run
make update-catalog
- this updates the metadata used by the package
- To update schema of the objects to extend the reports or input file schema
- Run
make remodel
to updatescripts/remodel.py
with the needed schema - Run
make update-catalog
to parse with the updated schema
- Run
- Run
pytest
to generate analysis reports on test data with updated schema - Run
make upgrade
to update the dependencies. - Fix any type hinting issues highlighted after running
mypy
- Run
black .
to auto edit code to follow PEP8 recommendations - Run
flake8
- Run
tox
for CI testing of all 3 - pytest, mypy, black - Upgrade minor version in setup.py
- Post PR for review
Please create a unit test for any/all public functions or methods you introduce.
To run unit tests for this package, just run make test
in the project
directory.
If/when you upgrade or add dependencies to setup.cfg, you will need to
run make requirements
before committing (and before testing, even locally,
with tox).
To update existing requirements to reflect the most recent compatible
versions, run make upgrade
(this will also update requirements once
upgrades are complete).
Distribution of this package to Artifactory will occur when your changes are merged into the "master" branch if you have incremented the version number.
You can increment the version number by changing the version argument in setup.cfg.
Distribution of this package to Artifactory will occur when your changes are merged into the "master" branch if you have incremented the version number.
You can increment the version number by changing the version argument in setup.cfg.