diff --git a/.github/workflows/code-counter-CI.yml b/.github/workflows/code-counter-CI.yml index 588243a..651f75e 100644 --- a/.github/workflows/code-counter-CI.yml +++ b/.github/workflows/code-counter-CI.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.6, 3.7, 3.8, 3.9] + python-version: [3.6, 3.7, 3.8, 3.9, 3.10.0] steps: - uses: actions/checkout@v3 diff --git a/code_counter/core/counter.py b/code_counter/core/counter.py index e2f1e50..508b62f 100644 --- a/code_counter/core/counter.py +++ b/code_counter/core/counter.py @@ -59,16 +59,6 @@ def search(self): .format("File Type", "Lines", "Code", "Blank", "Comment", "File Path"), file=output_file) print("\t{}".format('-' * 90), file=output_file) - # # `use_list` argument is deprecated!!! - # if use_list: - # with open(input_path) as file: - # for l in file.readlines(): - # l_strip = l.strip() - # if os.path.exists(l_strip): - # self.__search(l_strip, output_file) - # else: - # print('{} is not a validate path.'.format(l)) - if not input_path: print('{} is not a validate path.'.format(input_path)) return diff --git a/setup.py b/setup.py index b6d5160..e35e65b 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ def read_readme(file_name): version=__import__('code_counter').__version__, author="Inno Fang", author_email="innofang@yeah.net", - url='https://github.com/innofang/code-counter', # homepage + url='https://github.com/InnoFang/code-counter', # homepage project_urls={ 'Documentation': 'https://github.com/InnoFang/code-counter/blob/master/README.md', 'Source': 'https://github.com/InnoFang/code-counter', @@ -29,7 +29,7 @@ def read_readme(file_name): install_requires=["matplotlib", "numpy"], python_requires='>=3.6', classifiers=[ - 'Development Status :: 4 - Beta', + "Development Status :: 5 - Production/Stable", 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Environment :: Console',