Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/code-counter-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 0 additions & 10 deletions code_counter/core/counter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand Down