Skip to content

Commit

Permalink
feat: check .ts files too
Browse files Browse the repository at this point in the history
  • Loading branch information
Emmo00 committed Jan 26, 2024
1 parent 93a4834 commit 8c64d81
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions alxcheck/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ def main():
for file in files:
file_path = os.path.join(root, file)
if file_path.endswith(
(".c", ".py", ".js", ".m", ".h",
".mjs", ".jsx", ".json")
(".c", ".py", ".js", ".m", ".h", ".ts", ".mjs", ".jsx", ".json")
):
if not check_file_ends_with_new_line(file_path):
if not is_empty_init_py(file_path):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "alxcheck"
version = "0.1.1"
version = "0.1.2"
authors = [{ name="Emmanuel Nwafor", email="[email protected]"}]
description = "ALX text suite. Shell Utility that checks files for ALX's Project Requirements. Including: General, C, JavaScript and Python projects"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = alxcheck
version = 0.1.1
version = 0.1.2
author = Nwafor Emmanuel
author_email = [email protected]
description = "ALX text suite. Shell Utility that checks files for ALX's Project Requirements. Including: General, C, JavaScript and Python projects"
Expand Down

0 comments on commit 8c64d81

Please sign in to comment.