-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Can now take profit of env var 'TAXADB_CONFIG' or a config path at …
…object construction to set db parameters connection. - Updated docuemntation. Force port number to be int when connecting with peewee Upated README.md to reflect use of configuration Test codecov Cover taxadb only, not test Added codecov.yml Remove some pieces of code not used or not reached. Remove some exception not thorwn by method used. Added .dmp test files Updated tests and added codeclimate configuration - Introduced use of config file or environment variable. - Increased test coverage up to 99%. - Reviewed some method according to tests. Updated README Fixed codeclimate warnings. Refactored method to load taxa table data into memory do not test coverage for taxadb.app.py Added configuration file <.landscape.yml> for code health checking Increased test coverage and cleaned code reagarding landascape.io Adjusted small stuff Use of configuration file and/or environment variable TAXADB_CONFIG
- Loading branch information
Showing
26 changed files
with
942 additions
and
179 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,24 @@ | ||
engines: | ||
pep8: | ||
enabled: true | ||
duplication: | ||
enabled: true | ||
checks: | ||
Similar Code: | ||
enabled: true | ||
config: | ||
languages: | ||
python: | ||
python_version: 3 | ||
fixme: | ||
enabled: true | ||
radon: | ||
enabled: true | ||
config: | ||
python_version: 3 | ||
|
||
exclude_paths: | ||
- "taxadb/test/*" | ||
ratings: | ||
paths: | ||
- "taxadb/*.py" |
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,3 @@ | ||
ignore: | ||
- "**/test/*.py" # ignore test scripts | ||
- "**/app.py" # ignore main application script |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# taxa_db specific stuff | ||
*accession2taxid* | ||
taxdump* | ||
*.dmp | ||
n*.dmp | ||
gc.prt | ||
readme.txt | ||
|
||
|
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,11 @@ | ||
doc-warnings: yes | ||
test-warnings: no | ||
strictness: medium | ||
max-line-length: 80 | ||
pep8: | ||
full: true | ||
python-targets: | ||
- 3 | ||
ignore-paths: | ||
- taxadb/test | ||
- doc |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
.. _api: | ||
|
||
API Documentation | ||
========================== | ||
================= | ||
|
||
Contents: | ||
|
||
|
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.