[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Health-dev] [task #16513] Linting the source code
From: |
Feng Shu |
Subject: |
[Health-dev] [task #16513] Linting the source code |
Date: |
Wed, 6 Mar 2024 23:45:39 -0500 (EST) |
Follow-up Comment #4, task #16513 (group health):
At the moment, only left below:
feng@Tumashu ~/projects/health $ bash lint.sh |grep -v pyc
./tryton/health/setup.py:15:1: E265 block comment should start with '# '
./tryton/health_archives/setup.py:15:1: E265 block comment should start with
'# '
./tryton/health_pediatrics_growth_charts/setup.py:98:80: E501 line too long
(85 > 79 characters)
./tryton/health_pediatrics_growth_charts_who/setup.py:101:80: E501 line too
long (93 > 79 characters)
./tryton/health_who_essential_medicines/setup.py:98:80: E501 line too long (83
> 79 characters)
Running pyflakes linting
./tryton/health_surgery/report/surgery_report.py:29:17: local variable
'timezone' is assigned to but never used
./tryton/health_surgery/report/surgery_report.py:31:9: local variable 'dt' is
assigned to but never used
Running reuse linting
# MISSING COPYRIGHT AND LICENSING INFORMATION
The following files have no copyright and licensing information:
* tryton/health_genetics/data/human_genes_alt_loci.xml
* tryton/health_genetics/data/human_genes_grch38.xml
* tryton/health_genetics_uniprot/data/variant_phenotypes.xml
* tryton/health_surgery/data/surgery_protocols.xml
* tryton/health_surgery_protocols/data/surgery_protocols.xml
* tryton/scripts/gnuhealth-data-import/data/1-patients.csv
* tryton/scripts/gnuhealth-data-import/data/1-patients.ods
* tryton/scripts/gnuhealth-data-import/data/2-products.csv
* tryton/scripts/gnuhealth-data-import/data/2-products.ods
* tryton/scripts/gnuhealth-data-import/data/3-medicaments.csv
* tryton/scripts/gnuhealth-data-import/data/3-medicaments.ods
* tryton/scripts/gnuhealth-data-import/data/4-labtests.csv
* tryton/scripts/gnuhealth-data-import/data/4-labtests.ods
* tryton/scripts/gnuhealth-pot-fill/data/icd10-chapter.txt
* tryton/scripts/gnuhealth-pot-fill/data/icd10-disease.txt
* tryton/scripts/gnuhealth-pot-fill/data/icd10-section.txt
* tryton/scripts/gnuhealth-pot-fill/data/icd9procs.txt
* tryton/scripts/gnuhealth-pot-fill/gnuhealth-pot-fill.el
# SUMMARY
* Bad licenses: 0
* Deprecated licenses: 0
* Licenses without file extension: 0
* Missing licenses: 0
* Unused licenses: 0
* Used licenses: GPL-3.0-or-later, CC-BY-SA-4.0
* Read errors: 0
* files with copyright information: 2399 / 2595
* files with license information: 2399 / 2595
Unfortunately, your project is not compliant with version 3.0 of the REUSE
Specification :-(
# RECOMMENDATIONS
* Fix missing copyright/licensing information: For one or more files, the
tool
cannot find copyright and/or licensing information. You typically do this
by
adding 'SPDX-FileCopyrightText' and 'SPDX-License-Identifer' tags to each
file. The tutorial explains additional ways to do this:
<https://reuse.software/tutorial/>
feng@Tumashu ~/projects/health $
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/task/?16513>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/