Skip to content

Commit

Permalink
adding py and java language support
Browse files Browse the repository at this point in the history
  • Loading branch information
mursalatul committed Jan 15, 2024
1 parent 8d3a931 commit c566d86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Become part of our Code Park family by contributing. Your support not only adds

4. **Restrictions:**
- Do not modify or remove any folder or file in this reposity starting with (.) or all the letters are in uppercase. These are called admin files. Place an proper issue in github if you wanna suggest any modification here.
- Currently we are only accepting codes in [c, c++], which is best for raw code and DSA.
- Currently we are only accepting codes in [c, c++, py, java], which is best for raw code and DSA.

5. **Before Submission:**
- Make sure you removed all the unnecessary folders/files.
Expand Down
2 changes: 1 addition & 1 deletion READY_REPO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ bool: true if file is a correct source code file, else false
bool is_source_code_file(std::string file_name)
{
// check if the file is a valid file
std::string language_extension[] = {".c", ".cpp"};
std::string language_extension[] = {".c", ".cpp", ".py", ".java"};
for (std::string extension : language_extension)
{
size_t extension_index = file_name.find(extension);
Expand Down

0 comments on commit c566d86

Please sign in to comment.